19.04.2018, 21:40
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'"
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'"