Re: Is there anything in here that could be considered a parse error?
| From: | Richard Lynch | Date: | Sat, 01 Sep 2001 00:54:26 +0000 |
| Subject: | Re: Is there anything in here that could be considered a parse error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65579@lists.php.net to get a copy of this message | ||
MySQL may not like that ; at the end of the query...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
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 <john_meyer@geocities.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
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 {
>