Mysql Error
#1

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
Reply


Forum Jump:


Users browsing this thread: