Re: mysql newbie question...

From: Date: Wed, 13 Dec 2000 18:58:35 +0000
Subject: Re: mysql newbie question...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-30138@lists.php.net to get a copy of this message
id int(11) unsigned not null auto_increment, <<-- auto_increment --Joe On Wed, Dec 13, 2000 at 06:51:29PM -0000, jalist 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? > > Thanks in advance. > > Steve > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net --- Joe Stump PHP Programmer www.Care2.com

« previous php.general (#30138) next »