Mysql Saving issue
#1

Hello there, I have a problem saving things in my mysql database, this is my query code(i don't use threaded queries, )

pawn Код:
new str[700];
    mysql_format(mysql,str, sizeof(str),"UPDATE `users` SET Name = %s, IP = %s, Money = %d, Score = %d, Kills = %d, Deaths = %d, Level = %d, Rank = '%s', \
    ZonesCaptured = %d, FlagsCaptured = %d, VIP = %d, DonateLevel = %d WHERE ID = %d"
,PlayerName(playerid),p_IP[playerid],GetPlayerCash(playerid),GetPlayerScore(playerid),Kills[playerid],Deaths[playerid],AdminLevel{playerid},RankNames[Rank[playerid]],ZonesCaptured[playerid],FlagsCaptured[playerid],
    VIP[playerid],DonateLevel[playerid],FieldID[playerid]);
    mysql_query(mysql,str);
is there a problem saving things if I dont use threaded queries? I coudnt understand. Please help me in this issue.
Reply


Messages In This Thread
Mysql Saving issue - by DetoNater - 12.05.2015, 06:11
Re: Mysql Saving issue - by Infamous - 12.05.2015, 06:34
Re: Mysql Saving issue - by DetoNater - 13.05.2015, 10:33
Re: Mysql Saving issue - by Evocator - 13.05.2015, 10:40
Re: Mysql Saving issue - by DetoNater - 15.05.2015, 03:34

Forum Jump:


Users browsing this thread: 2 Guest(s)