06.09.2011, 15:37
PHP код:
[17:30:05] [MySQL] Error (0): Failed to exeute query. Commands out of sync; you can't run this command now.
[17:30:05] [MySQL] Error (0): Failed to exeute query. Commands out of sync; you can't run this command now.
PHP код:
format(query,sizeof(query),"SELECT (`balance`) FROM `baccounts` WHERE `bid` = '%i'",account);
mysql_query(query);
PHP код:
format(query,sizeof(query),"UPDATE `baccounts` SET `balance` = '%i' WHERE `bid` = '%i'",x,account);
mysql_query(query);