mysql newbie question...
| From: | jalist | Date: | Wed, 13 Dec 2000 18:51:29 +0000 |
| Subject: | mysql newbie question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30136@lists.php.net to get a copy of this message | ||
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