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
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.
Re: Error with Query - T_VARIABLE
Check especially for the line directly above missing a semicolon.
Re: Error with Query - T_VARIABLE
that did it. i was missing a semi-colon. thanks ;)