MySQL may not like that ; at the end of the query...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: John Meyer <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 5:49 PM
Subject: Is there anything in here that could be considered a parse error?


> if (empty($DidSurvey[$p_surveyid])) {
>   if (is_array($p_answers)){
>   foreach($p_answers as $value) {
> error line-->  $sql = "INSERT INTO RESULTS(SURVEY_ID, ANSWER_ID) VALUES("
.
> $p_surveyid . "," . $value . ");";
> mysql_query($sql);
> }
> else {
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to