MYSQL Problem
#1

PHP код:
[17:30:05] [MySQLError (0): Failed to exeute queryCommands out of syncyou 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
After I do this:
PHP код:
            format(query,sizeof(query),"SELECT (`balance`) FROM `baccounts` WHERE `bid` = '%i'",account);
            
mysql_query(query); 
This is for the first error, and this is for the second:
PHP код:
             format(query,sizeof(query),"UPDATE `baccounts` SET `balance` = '%i' WHERE `bid` = '%i'",x,account);
             
mysql_query(query); 
Reply


Messages In This Thread
MYSQL Problem - by [IL]HeHu - 06.09.2011, 15:37
Re: MYSQL Problem - by Cyanide - 06.09.2011, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)