22.06.2014, 16:59
So, mysql is giving me an error in this lines:
and the error from mysql log is this::
Код:
format(gQuery, sizeof(gQuery), "SELECT * FROM `banovi` WHERE `Ime` = '%s'", ImeIgraca(playerid)); mysql_function_query(konekt, gQuery, true, "OnQueryFinish", "ii", THREAD_BANINFO, playerid);
Код:
[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