Error will be triggered to OnQueryError
#1

I got a error, don't really know how to get over of this shit

Код:
mysql_format(pms, query, "UPDATE playeracc SET playername=%s WHERE id=%d", pNome(playerid), userid[playerid]);
mysql_function_query(pms, query, false, "MySQL_Return", "");
error
Код:
[19:17:46] ProcessQueryThread(MySQL_Return) - Executing query UPDATE playeracc SET playername=Rodolf_Pasqueto WHERE id=1...
[19:17:46] ProcessQueryThread(MySQL_Return) - Error will be triggered to OnQueryError().
I'm pretty sure that I have the playeracc table.
Reply
#2

You have to enclose strings in single quotes.

Код:
"UPDATE playeracc SET playername='%s' WHERE id=%d"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)