Today I discovered that it’s very easy to raise a value by one (or any other number) when you’re using a MySQL database. This is all:
UPDATE tablename SET value = value + 1 WHERE ...
Tags: increment, mysql
Name (required)
Mail (will not be published) (required)
Website
We like and recommend: