SQL & loop problem
#10

Quote:
Originally Posted by vassilis
Посмотреть сообщение
How you demand the table to be updated when you format but doesn't send the query?
PHP код:
        mysql_format(mysqlquerysizeof(query), "UPDATE `factories` SET `Resources`=%f WHERE `ID`=%d",\
        
FactoryData[x][FactoryResources],FactoryData[x][FactoryID]);
                
mysql_tquery(mysql,query); 
I havent included this part
PHP код:
mysql_tquery(mysql"SELECT * FROM `factories`""OnFactoryLoad"""); 
Reply


Messages In This Thread
SQL & loop problem - by TwinkiDaBoss - 15.12.2015, 01:40
Re: SQL & loop problem - by zPain - 15.12.2015, 01:44
Re: SQL & loop problem - by TwinkiDaBoss - 15.12.2015, 01:53
Re: SQL & loop problem - by zPain - 15.12.2015, 01:57
Re: SQL & loop problem - by TwinkiDaBoss - 15.12.2015, 02:04
Re: SQL & loop problem - by zPain - 15.12.2015, 02:28
Re: SQL & loop problem - by TwinkiDaBoss - 15.12.2015, 02:32
Re: SQL & loop problem - by Vince - 15.12.2015, 08:42
Re: SQL & loop problem - by vassilis - 15.12.2015, 13:01
Re: SQL & loop problem - by TwinkiDaBoss - 15.12.2015, 14:33

Forum Jump:


Users browsing this thread: 2 Guest(s)