You are here: Re: SQL insert « All PHP « IT news, forums, messages
Re: SQL insert

Posted by Rik on 05/15/06 12:44

Greg wrote:
> Is there a way to insert data (IE a string) into a table without
> erasing what is already there? IE user adds a comment, then later
> wants to add to the comment. Just take the new information and
> append it to what's already there. How would I do that?

UPDATE SET `field_name` = `field_name` + 'I just added this text' WHERE
`primary_key`='the key of the comment in question'

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация