17.06.2011, 16:06
MySQL log:
Why does it show that error?
Код:
[19:08:29] CMySQLHandler::Query(SELECT group FROM player_groups WHERE id = '12' ) - An error has occured. (Error ID: 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 'group FROM player_groups WHERE id = '12'' at line 1)
pawn Код:
format(query, 128, "SELECT group FROM player_groups WHERE id = '%i' ", PlayerInfo[playerid][id]);
mysql_query(query);