Help with [PHP] & [mySQL]
#4

Well a simple UPDATE query for subtraction is all you need since you know how to do the check.

pawn Код:
mysql_query('UPDATE `table` SET Money = Money - 500 WHERE ID = 50');
Reply


Messages In This Thread
Help with [PHP] & [mySQL] (FIXED, DELETE PLS) - by DiddyBop - 07.08.2010, 19:41
Re: Help with [PHP] & [mySQL] - by DiddyBop - 07.08.2010, 23:28
Re: Help with [PHP] & [mySQL] - by ScottCFR - 07.08.2010, 23:32
Re: Help with [PHP] & [mySQL] - by JaTochNietDan - 07.08.2010, 23:39
Re: Help with [PHP] & [mySQL] - by DiddyBop - 07.08.2010, 23:46
Re: Help with [PHP] & [mySQL] - by DiddyBop - 08.08.2010, 01:56

Forum Jump:


Users browsing this thread: 1 Guest(s)