MYSQL - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MYSQL (
/showthread.php?tid=657948)
MYSQL -
PowerMwK - 18.08.2018
I wanted an example of how to update the [mysql_query] code for the r40, so do not respond if you do not want to help.
PHP код:
format(var, sizeof(var), "UPDATE `users` SET `GoldPoints`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPremiumPoints], PlayerInfo[playerid][pSQLID]);
mysql_query(SQL, var);
I try to do IT:
PHP код:
Cache:result = mysql_query(SQL, sizeof(var), "UPDATE `users` SET `GoldPoints`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPremiumPoints], PlayerInfo[playerid][pSQLID]);
Re: MYSQL -
PowerMwK - 18.08.2018
I already see the topic of maddinat0r, but no find nothing, in the wiki I try but not understand.