03.12.2014, 18:28
Quote:
[20:27:43] [ERROR] CMySQLQuery::Execute - (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 '`Bilet = 262' at line 1 |
[quote]`Bilet = 262[quote]
You are missing enclosing backtick. So, search for
pawn Код:
format( gsString, 256, "SELECT * FROM `loterie` WHERE `Bilet = %d", randlotto);
//and replace it with
format( gsString, 256, "SELECT * FROM `loterie` WHERE `Bilet` = %d", randlotto);