Re: Simple Selection Box

From: Date: Mon, 08 Sep 2003 20:01:35 +0000
Subject: Re: Simple Selection Box
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162008@lists.php.net to get a copy of this message
AAHH - stupid mistake - thanks! Guess I better re-read PHP-101 Thanks, Scott ----- Original Message ----- From: "Jay Blanchard" <jay.blanchard@niicommunications.com> To: "Scott Miller" <srmiller@interbel.net>; <php-general@lists.php.net> 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',

« previous php.general (#162008) next »