hello everyone, im in need of ether the code or just what to use to update a value in my database.
im wanting to add money to it, so if i click on a button it will add a set number to the database.
EXP:
I have $5
"click button to add $10"
you now have $15
if you need me to exsplane better let me know.
thanks for your time.
update a value in my database.
Moderator: General Moderators
-
rahulzatakia
- Forum Commoner
- Posts: 59
- Joined: Fri Feb 05, 2010 12:01 am
- Location: Ahmedabad
Re: update a value in my database.
Hello, you can first fetch the number from database e.g. $5, after that add number e.g. $10 and then you need to update the database with the result. If you want me to write code for you then provide your code and database field names, so I can work on it and give you the exact solution.