taekwondokid42
New Member
- Messages
- 268
- Reaction score
- 0
- Points
- 0
I am having trouble with this code:
mysql_query("UPDATE wiki_quotes SET Quote = $quotes WHERE id = '$counter'") or die(mysql_error());
The error I recieve is:
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 'WHERE id = ''' at line 1
Does anyone know what is wrong with the code?
mysql_query("UPDATE wiki_quotes SET Quote = $quotes WHERE id = '$counter'") or die(mysql_error());
The error I recieve is:
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 'WHERE id = ''' at line 1
Does anyone know what is wrong with the code?