AAHH - stupid mistake - thanks! Guess I better re-read PHP-101
Thanks, Scott ----- Original Message ----- From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Scott Miller" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 1:54 PM Subject: RE: [PHP] Simple Selection Box > [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', -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php