08.01.2014, 20:42
So i made a table in MySQL which will log server stats like total accounts and shit. I tested with the "TotalAccounts" row first:
This is the code when someone registers, but in mysql_log.txt i get a SQL syntax error, lol.
My question is: How to increase the "TotalAccounts" row by 1?
The "TotalAccounts" is made in "integrer".
pawn Код:
new stats[200];
format(stats, sizeof(stats), "UPDATE `ServerStats` SET `TotalAccounts` ++");
mysql_query(stats);
My question is: How to increase the "TotalAccounts" row by 1?
The "TotalAccounts" is made in "integrer".