Re: update (incrementar en 1)

From: Date: Fri, 23 Sep 2005 12:58:29 +0000
Subject: Re: update (incrementar en 1)
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-55945@lists.php.net to get a copy of this message
Podes hacerlo con: UPDATE tabla SET campo=campo+1 WHERE id=$id Fijate con eso. Emiliano J. Horcada On 9/23/05, marolijo@yahoo.es <marolijo@yahoo.es> wrote: > > Hola quiero incrementar en 1 un entero el valor de un registro, recuerdan > la > SQL para Mysql? > > gracias > > > > Pol Maresma i Oliveras // <mailto:pol@polnetwork.com> > pol@polnetwork.com > <http://www.polnetwork.com/> > www.PolNetwork.com<http://www.PolNetwork.com>// Serveis > d'Internet > <http://www.tempslliure.net/> > www.tempslliure.net<http://www.tempslliure.net>// Articles, > opinions, > imatges... Blog > > > >

« previous php.general.es (#55945) next »