RE: [PHP] Can you find the parse error?
| From: | Eric Kilgore | Date: | Fri, 29 Mar 2002 22:02:43 +0000 |
| Subject: | RE: [PHP] Can you find the parse error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90724@lists.php.net to get a copy of this message | ||
There are a couple of carriage returns, but this has never affected any of
my other code. I'm using dreamweaver.
-----Original Message-----
From: Henning, Brian [mailto:brian.henning@navitaire.com]
Sent: Friday, March 29, 2002 1:55 PM
To: 'Eric Kilgore'
Subject: RE: [PHP] Can you find the parse error?
is there a carrage return in the middle of the statement? what editor are
you using?
it might be wrapping wrong
-----Original Message-----
From: Eric Kilgore [mailto:eric@faaces.org]
Sent: Friday, March 29, 2002 3:46 PM
To: php-general (E-mail)
Subject: [PHP] Can you find the parse error?
What's wrong with this code that it would give this error?
Parse error: parse error, expecting
','' or ';''
$query = "INSERT INTO tblUserInfo (UserID, Complex, Contact, Address, State,
City, Zip, Phone,
Fax, email, fee) VALUES ('".$UserID."', '".$Complex."',
'".$Contact."',
'".$Address."',
'".$State."', '".$City."',
'".$Zip."', '".$Phone."', '".$Fax."',
'".$email."', '".$fee."')";
I think I've been staring at it too long. I can't find it.
Eric
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php