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

- Victor >

Post your ad for free now!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to