23.03.2018, 00:41
Try this and if doesn't work, check your server log and see whether the message is printed.
You're right, my bad. Sorry about that.
PHP код:
stock SaveBankAccounts()
{
new query[256];
for(new i = 1; i < MAX_BANK_ACCOUNTS; i++)
{
if(bAccount[i][Used])
{
print("Is variable true test");
mysql_format(Database, query, sizeof(query), "UPDATE `BANKACCOUNTS` SET `VALUE`='%d' WHERE `ID`='%d' LIMIT 1", bAccount[i][Value], i);
mysql_query(Database, query);
}
}
}