Impossible to save stats
#11

Quote:
Originally Posted by Konstantinos
View Post
Code:
"UPDATE `players` SET `skin_player` = '%d', `cash` = '%d' WHERE `id` = '%d' LIMIT 1"
Wrap the values inside ' ' when using strings. Integers and floating-point numbers are unnecessary. Also if id is PRIMARY KEY (which should be), using LIMIT clause is pointless too.
Does not work with this:
https://pastebin.com/NY3yQvbj


EDIT

Full database: http://prntscr.com/hq39ma
Reply


Messages In This Thread
Impossible to save stats - by Klayton - 20.12.2017, 00:20
Re: Impossible to save stats - by Logok987 - 20.12.2017, 10:26
Re: Impossible to save stats - by DelK - 20.12.2017, 10:38
Re: Impossible to save stats - by Klayton - 20.12.2017, 13:14
Re: Impossible to save stats - by aoky - 20.12.2017, 13:20
Re: Impossible to save stats - by Klayton - 20.12.2017, 13:47
Re: Impossible to save stats - by aoky - 20.12.2017, 13:47
Re: Impossible to save stats - by Klayton - 20.12.2017, 13:49
Re: Impossible to save stats - by Konstantinos - 20.12.2017, 13:51
Re: Impossible to save stats - by aoky - 20.12.2017, 13:52
Re: Impossible to save stats - by Klayton - 20.12.2017, 13:54
Re: Impossible to save stats - by aoky - 20.12.2017, 13:56
Re: Impossible to save stats - by Klayton - 20.12.2017, 13:57
Re: Impossible to save stats - by Konstantinos - 20.12.2017, 14:01
Re: Impossible to save stats - by Klayton - 20.12.2017, 14:10
Re: Impossible to save stats - by Konstantinos - 20.12.2017, 14:16
Re: Impossible to save stats - by Klayton - 20.12.2017, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)