guvenck
04-24-2008, 12:07 PM
Hello,
I keep a counter of my pages in MySQL. What I am doing is to read the current value, add 1 to it and then update the db field with the new value, all with PHP.
I wonder, if this could be done with a single MySQL query, using MySQL numerical operators.
I keep a counter of my pages in MySQL. What I am doing is to read the current value, add 1 to it and then update the db field with the new value, all with PHP.
I wonder, if this could be done with a single MySQL query, using MySQL numerical operators.