A
AngelMare
Guest
How do I update a record by adding an integer to the current integer, no matter what the current integer is?
For example, I have the current "mood" row in my database table set to "100" and I want to add 5, but allow 5 to be added to the "mood" integer even if it is a number other than 100. In this example, I want the "mood" row to end up being 105, but again I want it not to depend on the 100.
Any help would be appreciated.
For example, I have the current "mood" row in my database table set to "100" and I want to add 5, but allow 5 to be added to the "mood" integer even if it is a number other than 100. In this example, I want the "mood" row to end up being 105, but again I want it not to depend on the 100.
Any help would be appreciated.