19.10.2013, 10:02
Try executing that query through phpMyAdmin and tell us whether it executed successfully or not.
However, I can't seem to find anything wrong (except the row I told you).
It should be:
By the way, what about ID? If it is always 1, then you actually don't need it and you can use "SELECT * FROM `statistics`".
However, I can't seem to find anything wrong (except the row I told you).
It should be:
pawn Код:
sInfo[statsBankMoney] = cache_get_row_int(0, 0);
sInfo[statsServerUp] = cache_get_row_int(0, 1);
sInfo[statsAccounts] = cache_get_row_int(0, 2);
sInfo[statsConnects] = cache_get_row_int(0, 3);
sInfo[statsKills] = cache_get_row_int(0, 4);
sInfo[statsDeaths] = cache_get_row_int(0, 5);