Mysql Error - 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)
+--- Thread: Mysql Error (
/showthread.php?tid=521314)
Mysql Error -
ShoortyFl - 22.06.2014
So, mysql is giving me an error in this lines:
Код:
format(gQuery, sizeof(gQuery), "SELECT * FROM `banovi` WHERE `Ime` = '%s'", ImeIgraca(playerid));
mysql_function_query(konekt, gQuery, true, "OnQueryFinish", "ii", THREAD_BANINFO, playerid);
and the error from mysql log is this::
Код:
[19:21:44] [ERROR] CMySQLQuery::Execute[OnQueryFinish] - (error #1064) 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 '* FROM `Banovi` WHERE `Ime` = 'Nathan_Smith'' at line 1