Date: 08/31/01
- Next message: Richard Lynch: "[PHP] Re: Getting links from html page"
- Previous message: Richard Lynch: "[PHP] Re: sessions problems :/"
- In reply to: John Meyer: "[PHP] Is there anything in here that could be considered a parse error?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
MySQL may not like that ; at the end of the query...
-- WARNING richard <email protected> address is an endangered species -- Use ceo <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 <john_meyer <email protected>> Newsgroups: php.general To: <php-general <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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "[PHP] Re: Getting links from html page"
- Previous message: Richard Lynch: "[PHP] Re: sessions problems :/"
- In reply to: John Meyer: "[PHP] Is there anything in here that could be considered a parse error?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

