SA-MP Forums Archive
sql query - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: sql query (/showthread.php?tid=219070)



sql query - vardanega - 31.01.2011

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