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.',
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:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 1:55 PM
To: 'Eric Kilgore'
Subject: RE: [PHP] Can you find the parse error
I ran it through my PHP. Worked fine.
You may wish to close each line with a .
-Original Message-
From: Eric Kilgore [mailto:[EMAIL PROTECTED]]
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
On Fri, 29 Mar 2002, Eric Kilgore wrote:
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
Cc: php-general (E-mail)
Subject: Re: [PHP] Can you find the parse error?
On Fri, 29 Mar 2002, Eric Kilgore wrote:
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
)
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
6 matches
Mail list logo