Return to Snippet

Revision: 34080
at October 16, 2010 23:02 by cjmling


Initial Code
$sql = "UPDATE tablename SET field = field+1 WHERE somefield = $fieldvalue";

Initial URL

                                

Initial Description

                                

Initial Title
Add 1 to a field (MySQL)

Initial Tags
mysql

Initial Language
MySQL