RE: [PHP] Simple Selection Box
| From: | Jay Blanchard | Date: | Mon, 08 Sep 2003 19:54:32 +0000 |
| Subject: | RE: [PHP] Simple Selection Box | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162007@lists.php.net to get a copy of this message | ||
[snip]
You have an error in your SQL syntax near '; City='Eureka/'' at line 6
$sql = "INSERT INTO My_Table_Name SET
First_Name='$fname',
Last_Name='$lname',
Username='$username',
Password='$password',
Phone_Number='$phone';
City='$city'";
[/snip]
You left out a comma
Phone_Number='$phone';
should be
Phone_Number='$phone',