16.02.2014, 15:19
Hi,
What I want to do is add a value to a preivous one.
If the money value is X, I want to get this value then add Y.
Example: Money value: 1000
I want to add to this +50.
How could I do please ?
Get the initial value then update it ?
Sorry if I'm not clear, but if you need more explanations just ask
Код:
mysql_format(mysql, query, sizeof(query),"UPDATE `joueurs` SET `Money` = 'MODIFY THIS VALUE' WHERE `Username` = '%e'", nom);
If the money value is X, I want to get this value then add Y.
Example: Money value: 1000
I want to add to this +50.
How could I do please ?
Get the initial value then update it ?
Sorry if I'm not clear, but if you need more explanations just ask



.