MySQL error
#2

I think you might have missed two commas in your syntax. One after the player_name line, one after the password line. Also, you don't need the comma after Where.

So, "%s `player_name` = '%s'" would change to "%s `player_name` = '%s',"
and "%s `password` = '%s'" to "%s `password` = '%s',"
and then "%s WHERE `id` = '%d'," changes to "%s WHERE `id` = '%d'"
Reply


Messages In This Thread
MySQL error - by Kireykin - 19.04.2018, 21:23
Re: MySQL error - by AdamsLT - 19.04.2018, 21:40
Re: MySQL error - by Kireykin - 19.04.2018, 21:44
Re: MySQL error - by AdamsLT - 19.04.2018, 21:49
Re: MySQL error - by Kireykin - 19.04.2018, 21:51
Re: MySQL error - by AdamsLT - 19.04.2018, 21:52
Re: MySQL error - by Kireykin - 19.04.2018, 22:01
Re: MySQL error - by GTLS - 20.04.2018, 07:42

Forum Jump:


Users browsing this thread: 1 Guest(s)