Mysql error.
#4

The ; is fine. You didn't have to remove that. Here is your problem:

UPDATE users SET money = %d, score = %d, Shamal = '%d', Cargo = '%d', Helicopter = '%d', ban = %d, ban_reason = '%s', WHERE username = '%s'

Remove that comma at the end - it's not supposed to be there. It should be:

UPDATE users SET money = %d, score = %d, Shamal = '%d', Cargo = '%d', Helicopter = '%d', ban = %d, ban_reason = '%s' WHERE username = '%s'
Reply


Messages In This Thread
Mysql error. - by Haydz - 24.01.2011, 23:29
Respuesta: Mysql error. - by anonymousx - 25.01.2011, 00:15
Re: Mysql error. - by Haydz - 25.01.2011, 03:37
Re: Mysql error. - by Blacklite - 25.01.2011, 03:41
Re: Mysql error. - by Haydz - 25.01.2011, 03:51

Forum Jump:


Users browsing this thread: 2 Guest(s)