Re: mysql newbie question...

From: Date: Wed, 13 Dec 2000 19:01:17 +0000
Subject: Re: mysql newbie question...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30145@lists.php.net to get a copy of this message
Look at the FIRST example query on the Update section of the MySQL Manual on www.mysql.com: http://www.mysql.com/documentation/mysql/commented/manual.php?section=UPDATE Matthew At 06:51 PM 12/13/2000 +0000, you wrote:
I've tried to find out how to do this and drawn a blank... All I want to do is increment a field in a mysql table. Do I need to read the value in, ++ it and then write it back to the db, or can I do this as part of the db query, ie within the UPDATE blah SET... query?


« previous php.general (#30145) next »