I have an interger stored in my sql db, and i want to add lets say, 4 to it. How do i do this? I can update strings, but i cant get it to update intergers.
Edit: nvm, there was a mistake in my code
Moderator: General Moderators
Code: Select all
UPDATE `table` SET `column` = `column` + 4 WHERE `blah` = 'foo';