help with mysql
#1

Hello, I'm having some troubles.

This is my format
mysql_format(myddb, query, "UPDATE %s SET player=%s WHERE id=%d", pNome(playerid), str, GetPVarInt(playerid, "test");

UPDATE = player's name (each player has his/her own table)
SET = I'm using to write/save some stuff
WHERE = just a random ID

My problem is
Error will be triggered to OnQueryError().


If you guys didn't get I'll explain better

Table player's name

Inside of this table, there's only two columns.
I want to update the player's name, but how should I search for that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)