SQL error
Posted: Sun Feb 11, 2007 7:12 pm
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 'Manchester' AND casino='Slots'' at line 1
edit found. =)
didnt have '0'
Code: Select all
mysql_query("UPDATE casinos SET owner='$slots->owner' WHERE owner='0 AND location='$slots->location' AND casino='Slots'") or die(mysql_error());didnt have '0'