- Forums
- MySQL
- Mysql Query How To Increment A Row By One Or Add Plus 1 Number
this post will show you ow to increment a row by one value in your msyql database query [937], Last Updated: Sat May 18, 2024
hostnam
Mon Apr 02, 2012
0 Comments
282 Visits
to increment a value of a row in a mysql database using php, you can use
UPDATE ThisTable SET counter=counter+1 WHERE id=1
the above will increment the counter plus one in the ThisTable table where the id is equals to 1
hope that helps