RE: [PHP] Write from form to DB
| From: | Jay Blanchard | Date: | Wed, 03 Aug 2005 18:27:18 +0000 |
| Subject: | RE: [PHP] Write from form to DB | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219936@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.