mysql ! not saving
#4

Quote:
Originally Posted by Ox1gEN
Посмотреть сообщение
He wasn't even supposed to use a select statement.

You are supposed to use an UPDATE or an INSERT depending on what you're looking for.
SavePlayerData function already have a UPDATE one if you look carefully , i used SELECT * FROM `players` WHERE `username`='%s' so, it has ordered ALL users who got player's name, so it called only the player who disconnect,
that's how to make a threaded query with a function, i have it in my script and it works perfectly
Reply


Messages In This Thread
mysql ! not saving - by JeaSon - 18.09.2014, 10:21
Re: mysql ! not saving - by Sawalha - 18.09.2014, 11:16
Re: mysql ! not saving - by Ox1gEN - 18.09.2014, 11:28
Re: mysql ! not saving - by Sawalha - 18.09.2014, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)