why do i get this error please tell me?

From: Date: Sat, 31 Aug 2002 17:21:55 +0000
Subject: why do i get this error please tell me?
Groups: php.db php.general 
Request: Send a blank email to php-db+get-21496@lists.php.net to get a copy of this message
for($i = 0; $i < sizeof($check); $i++) { # start repating query # turn pictures in order delete capability off mysql_query("UPDATE kodak_user_pictures SET order=1 WHERE ID='$check[$i]'") # turn off pictures or die ('Unable to turn bit off '.mysql_error()); } # end repeat You have an error in your SQL syntax near 'order=1 WHERE ID='2'' at line 2 - Victor > www.argilent.com ______________________________________________________________________ Post your ad for free now! http://personals.yahoo.ca

« previous php.db (#21496) next »