Tizag.com Webmaster Tutorials - A collection of webmaster tutorials from HTML to PHP.

Tuesday, January 19, 2010

Increase count in column while updating a field in MySQL

Increase count in column while updating a field in MySQL


UPDATE <tablename> SET <thiscolumn>=<thiscolumn>+1 Where id=500

No comments: