Mysql Error
#2

Just add quotes in WHERE `Name` = %e
Код:
mysql_format(handle, gQuery, sizeof(gQuery), "UPDATE `players` SET `AdminLevel` = '%d' WHERE `Name` = '%e'", rank, PlayerInfo[playerid][pSelected]);
mysql_tquery(handle, gQuery, "", "");
Reply


Messages In This Thread
Mysql Error - by StR_MaRy - 23.09.2016, 23:11
Re: Mysql Error - by X337 - 24.09.2016, 08:57

Forum Jump:


Users browsing this thread: 1 Guest(s)