What's wrong with this code?
Posted: Thu Oct 05, 2006 8:42 pm
I'm getting an error here. Why?
Thanks.
Code: Select all
$update = mysql_query("UPDATE pictures SET picture_viewed = '$result['picture_viewed']' WHERE picture_number = '$picture' AND picture_album = '$album' LIMIT 1") or die(mysql_error());