RE: [PHP] Write from form to DB

From: Date: Wed, 03 Aug 2005 18:43:15 +0000
Subject: RE: [PHP] Write from form to DB
Groups: php.general 
Request: Send a blank email to php-general+get-219943@lists.php.net to get a copy of this message
> [snip] > Why not: > > $query = "INSERT INTO user (name,password) VALUES> > ('$username','$password')"; > [/snip] > > You could do that. The reason that I don't is because of the mixing of > quote types. So, is that a "Really Bad Thing(tm)", or is it just bad form? If the former, why? JM

« previous php.general (#219943) next »