|
-
Oct 16th, 2006, 09:33 PM
#1
Thread Starter
WiggleWiggle
Error with Query - T_VARIABLE
on this line of code:
PHP Code:
$query = "INSERT INTO `messages` VALUES ('', '$userid_array', '$sFrom', '$sTo', '$sSubject', '$sMessage', '$logged_in_customer', '" . date("Y-m-d") . "')";
i am getting this error:
Code:
Parse error: syntax error, unexpected T_VARIABLE in /usr/home/homtek/public_html/send_message.php on line 74
My usual boring signature: Something
-
Oct 16th, 2006, 10:00 PM
#2
Re: Error with Query - T_VARIABLE
that line's syntax looks fine. look at the few lines above it to see if there are any syntax errors in them.
-
Oct 17th, 2006, 07:00 AM
#3
Re: Error with Query - T_VARIABLE
Check especially for the line directly above missing a semicolon.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 17th, 2006, 05:33 PM
#4
Thread Starter
WiggleWiggle
Re: Error with Query - T_VARIABLE
that did it. i was missing a semi-colon. thanks
My usual boring signature: Something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|