Can't figure out what I'm doing wrong. I want to go into my members table, and for each member if their avatar column is Bruce_Willis.jpg, have it update the column so avatar is set to blank.gif. This is what I used in my php script:
$result1 = mysql_query("UPDATE '{$db_prefix}members' SET avatar='blank.gif' WHERE avatar='Bruce_Willis.jpg'");
I have an error report on, which it does come up and this is the error: Error updating the DB. SQL Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''yabbse_members' SET avatar = 'blank.gif' WHERE avatar = 'Bruce
Any clues?
Thanks,
Methonis