DeanMrz
Умник
Ошибка запроса
PHP:
format(string,sizeof(string),"UPDATE `admin` SET `makeleader` = '%d',`offleader` = '%d',`ban` = '%d',`iban` = '%d',`makehelper` = '%d',`offhelper` = '%d',`gzcolor` = '%d',`ghetto` = '%d',`avig` = '%d',`makeadmin` = '%d',`lvig`,`unlvig` = '%d' WHERE `Name` = '%s' LIMIT 1",
gAdminReason[setp][0],gAdminReason[setp][1],gAdminReason[setp][2],gAdminReason[setp][3],gAdminReason[setp][4],gAdminReason[setp][5],gAdminReason[setp][6],gAdminReason[setp][7],gAdminReason[setp][8],gAdminReason[setp][9],gAdminReason[setp][10],gAdminReason[setp][11],
PlayerInfo[setp][pNames]);
[20:58:52] [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 '`unlvig` = '1' WHERE `Name` = '' LIMIT 1' at line 1
