UPDATE query to add to a field
| From: | Adv. Systems Design | Date: | Mon, 28 Jan 2002 17:06:39 +0000 |
| Subject: | UPDATE query to add to a field | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16253@lists.php.net to get a copy of this message | ||
hello all:
I need to be able to update a field in MySQL, the catch is that I have to add on to text that is
already there and I have to be able to do it within MySQL (phpMyAdmin). My first idea was to do:
SET prod_desc = prod_desc + "more info to tack on to end"
but this is a mathematical function which returns 0!
Any ideas?
Thanks
----------------------------------------------------
Make it idiot-proof and someone will make a better idiot.
---------------------------------
Do You Yahoo!?
Yahoo! Auctions Great stuff seeking new owners! Bid now!