Question about mysql query
#3

I can't see why wouldn't you do all in one line?
pawn Код:
format(query, sizeof(query), "UPDATE accounts SET AdminLevel = %d, Vip = %d, Cash = %d WHERE Name = '%s'", PlayerAdmin, PlayerVIP, PlayerCash, PlayerName);
mysql_query(query);
Reply


Messages In This Thread
Question about mysql query - by Tanush123 - 16.02.2012, 22:38
Re: Question about mysql query - by [LoF]Zak - 16.02.2012, 22:46
Re: Question about mysql query - by Toreno - 16.02.2012, 22:49
Re: Question about mysql query - by Tanush123 - 16.02.2012, 22:52
Re: Question about mysql query - by Toreno - 16.02.2012, 22:54

Forum Jump:


Users browsing this thread: 1 Guest(s)