not saving correctly [MYSQL]
#5

Код:
`email` = %d
should be
Код:
`email` = '%s'
check other things. format strings with "%s" , integers with "%d" or "%i" and floats with "%f"

and a tip:

you don't need save every thing in "OnPlayerDisconnect" !

for example "age" , "gender" or admin and vip levels
save them into database when you set them them for a player.
Reply


Messages In This Thread
not saving correctly [MYSQL] - by lulo356 - 23.07.2015, 22:40
Re: not saving correctly [MYSQL] - by trablon - 23.07.2015, 22:45
Re: not saving correctly [MYSQL] - by lulo356 - 23.07.2015, 23:26
Re: not saving correctly [MYSQL] - by trablon - 23.07.2015, 23:32
Re: not saving correctly [MYSQL] - by M4D - 23.07.2015, 23:37
Re: not saving correctly [MYSQL] - by JaydenJason - 23.07.2015, 23:40
Re: not saving correctly [MYSQL] - by trablon - 23.07.2015, 23:43

Forum Jump:


Users browsing this thread: 1 Guest(s)