How to save and Load String. using mysql>?
#2

pawn Код:
mysql_format(mysql, query, sizeof(query), "UPDATE `players` SET `Ban`=%i ,`BanAdmin`= '%s' ,`BanReason`= '%s' WHERE `ID`=%i",pInfo[playerid][Banned],pInfo[playerid][BanAdmin],pInfo[playerid][BanReason],pInfo[playerid][PDID]);
And make sure your BanReason and BanAdmin fields are set to
Код:
VARCHAR
EDIT:

To load those string use the
Код:
cache_get_row feature
Reply


Messages In This Thread
How to save and Load String. using mysql>? - by MBilal - 22.08.2015, 12:17
Re: How to save and Load String. using mysql>? - by ZBits - 22.08.2015, 12:42
Re: How to save and Load String. using mysql>? - by Dokins - 22.08.2015, 14:47
Re: How to save and Load String. using mysql>? - by MBilal - 22.08.2015, 16:21
Re: How to save and Load String. using mysql>? - by Logofero - 22.08.2015, 16:33
Re: How to save and Load String. using mysql>? - by MBilal - 22.08.2015, 16:37
Re: How to save and Load String. using mysql>? - by Sjn - 22.08.2015, 16:43
Re: How to save and Load String. using mysql>? - by Logofero - 22.08.2015, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)