RE: [PHP-DB] appending new entry to old entries
| From: | Beau Lebens | Date: | Fri, 19 Apr 2002 00:27:04 +0000 |
| Subject: | RE: [PHP-DB] appending new entry to old entries | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18664@lists.php.net to get a copy of this message | ||
there might even be some cool SQL you can use tho, which would avoid having
to get the data out and then put it back in again.
I *think* (don't quote me on this) I remeber seeing something like
UPDATE myTable SET myField = CONCAT(myField + 'new string of stuff here')
WHERE myID='1'
HTH
beau
// -----Original Message-----
// From: Ron Allen [mailto:allenr@fwd.areur.army.mil]
// Sent: Thursday, 18 April 2002 7:34 PM
// To: php-db@lists.php.net
// Subject: Re: [PHP-DB] appending new entry to old entries
//
//
// Thanks
//
// "Jason Wong" <phplist@gremlins.com.hk> wrote in message
// news:php.db-18631@news.php.net...
// > On Thursday 18 April 2002 16:51, Ron Allen wrote:
// > > I would like to make it so that my helpdesk section can
// append entries
// in
// > > their Master Station Log. Update replaces the
// entry....any clues??????
// >
// > You would have to get the original value, append the new
// stuff then do
// UPDATE.
// >
// > --
// > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
// > Open Source Software Systems Integrators
// > * Web Design & Hosting * Internet & Intranet Applications
// Development *
// >
// >
// > /*
// > There is very little future in being right when your boss is wrong.
// > */
//
//
//
// --
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, visit: http://www.php.net/unsub.php
//