MySQL Column Problem
#2

I think you should see this: https://dev.mysql.com/doc/refman/5.7/en/update.html

You aren't using any "WHERE" in your code, so it sets it for every record in the table... The correct query is:
PHP код:
mysql_format(connectionIDqueryBuffersizeof(queryBuffer), "UPDATE users SET tester = %i WHERE name = %s"PlayerInfo[playerid][pTester], player_name);
mysql_tquery(connectionIDqueryBuffer); 
You will need to change `name` and `player_name`to whatever you use to identify your users...
Reply


Messages In This Thread
MySQL Column Problem - by SeanDenZYR - 08.04.2018, 11:27
Re: MySQL Column Problem - by 10MIN - 08.04.2018, 11:45
Re: MySQL Column Problem - by SeanDenZYR - 08.04.2018, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)