RE: [PHP-DB] incrementing values

2003-06-07 Thread John W. Holmes
> is there a function in mysql to increment a value inside a field? I am > always doing this with php, just thought this might be really usefull?! UPDATE table SET column = column + 1 WHERE ... Like that? ---John W. Holmes... Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E PHP

Re: [PHP-DB] incrementing values

2003-06-07 Thread Becoming Digital
AUTO_INCREMENT http://www.mysql.com/doc/en/example-AUTO_INCREMENT.html Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Merlin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, 03 June, 2003 17:56 Subject: [PHP-DB] in

[PHP-DB] incrementing values

2003-06-07 Thread Merlin
Hi there, is there a function in mysql to increment a value inside a field? I am always doing this with php, just thought this might be really usefull?! Thanx, Merlin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php