Mysql Statment
#5

PHP код:
                new UMoney[128];
                new 
Smoney[128];
                
format(Smoneysizeof(Smoney), "SELECT pMoney FROM users WHERE pName='%s'",CarInfo[i][owner]);
                
mysql_query(1Smoney);
                
format(UMoneysizeof(UMoney), "UPDATE users SET pMoney='%i' WHERE username='%s'",Smoney+CarInfo[i][CarPrice], CarInfo[i][owner]);
                
mysql_query(1UMoney); 
Reply


Messages In This Thread
Mysql Statment - by nezo2001 - 27.08.2015, 16:32
Re: Mysql Statment - by Luke_James - 27.08.2015, 16:44
Re: Mysql Statment - by nezo2001 - 27.08.2015, 16:46
AW: Mysql Statment - by Macronix - 27.08.2015, 21:18
Re: Mysql Statment - by nezo2001 - 28.08.2015, 19:03
Re: Mysql Statment - by Logofero - 28.08.2015, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)