[MySQL] Problem Saving accounts
#2

You have to format it, like this.

pawn Код:
new Query[80];
    format(Query, sizeof(Query), "UPDATE `nlrp` SET `pLevel` = %d WHERE `Name` = '%s'", PlayerInfo[playerid][pLevel], PlayerInfo[playerid][Name]);
    mysql_query(Query);
Reply


Messages In This Thread
[MySQL] Problem Saving accounts - by HellviRus - 17.04.2011, 09:39
Re: [MySQL] Problem Saving accounts - by playbox12 - 17.04.2011, 09:46
Re : [MySQL] Problem Saving accounts - by HellviRus - 17.04.2011, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)