MySQL Syntax Error
Posted: Fri Feb 18, 2005 4:52 pm
Okay, I have a problem that's bugging me. Small syntax error. Can you spot it?
Error I get:
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 'ignore (ignored, whoignored) VALUES('scrotaye', 'scrotaye')' at
Code: Select all
$ignoresql = "INSERT INTO ignore (ignored, whoignored) VALUES('$usertoignore', '".$_COOKIEї'username']."')";
mysql_query($ignoresql) or die(mysql_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 'ignore (ignored, whoignored) VALUES('scrotaye', 'scrotaye')' at