I cant find the mysql error
#1

Code:

Код:
format(query, sizeof(query), "UPDATE players SET Username = '%s', Password = '%s', PlayerX = %f, PlayerY = %f, PlayerZ = %f WHERE Username = `%s`", pName, Player[playerid][Password], Player[playerid][Position][0], Player[playerid][Position][1], Player[playerid][Position][2], pName);
Error:

Код:
[MySQL] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHER' at line 1.
Reply


Messages In This Thread
I cant find the mysql error - by Zloto - 01.05.2015, 23:36
Re: I cant find the mysql error - by DRCharlie - 02.05.2015, 00:53
Re: I cant find the mysql error - by MP2 - 02.05.2015, 01:15
Re: I cant find the mysql error - by Zloto - 02.05.2015, 11:06
Re: I cant find the mysql error - by Konstantinos - 02.05.2015, 11:12
Re: I cant find the mysql error - by Zloto - 02.05.2015, 11:23
Re: I cant find the mysql error - by joedyjoe - 02.05.2015, 13:45
Re: I cant find the mysql error - by Konstantinos - 02.05.2015, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)