A simple MySQL help
#3

Код:
new query[128];
format(query,sizeof(query),"UPDATE `tablename` SET level='%d' WHERE username='%s'",PlayerInfo[player1][Level],PlayerName2(player1));
mysql_query(query);
Edit the 'tablename' to the name of your table. and also you need to have the level and username collum inside that table else it won't work.
Reply


Messages In This Thread
A simple MySQL help - by Fernado - 14.09.2012, 01:15
Re: A simple MySQL help - by ReneG - 14.09.2012, 06:22
Re: A simple MySQL help - by Roel - 14.09.2012, 06:49

Forum Jump:


Users browsing this thread: 1 Guest(s)