31.01.2011, 17:31
Hello, my sql query returns me this error:
"[MySQL] Error (0): Failed to execute query.
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 'SELяя' at line 1.
mysql_query("SELECT * FROM `infomap` WHERE `mapid` != '-1' ORDER BY RAND() LIMIT 1");
What's wrong?
Thanks X 100 !
Vince
"[MySQL] Error (0): Failed to execute query.
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 'SELяя' at line 1.
mysql_query("SELECT * FROM `infomap` WHERE `mapid` != '-1' ORDER BY RAND() LIMIT 1");
What's wrong?
Thanks X 100 !
Vince