> 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 Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to