Php mysql update

From: Date: Mon, 29 Dec 2008 17:05:37 +0000
Subject: Php mysql update
Groups: php.general 
Request: Send a blank email to php-general+get-285201@lists.php.net to get a copy of this message
Okay maybe i have just forgot. I am trying to update the database and do a +1 to a int field without pulling the data and adding 1 to it and sticking it back in. Someone refresh me on this please. I think it is something like. $dwsl = mysql_query("UPDATE database set Field='+1' WHERE Criteria='Criteria'");

« previous php.general (#285201) next »