Reply to Re: How to add a </textarea> within a textarea

Your name:

Reply:


Posted by ZeldorBlat on 07/03/07 14:13

On Jul 3, 9:50 am, frank.mo...@gmail.com wrote:
> Granted this is not strictly a php-related question, I do believe
> however that many using php/MySQL and CMS-alike systems had this
> problem before.
>
> I would like to alter database generated html pages via a webform. To
> enhance flexibility I would like to be able to include all html tags
> (yes, I know, it's not safe, but it's limited to a very restricted
> group of people that should know what they're doing). So.. at one
> point I tried to add a submission form at the end of an article with
> <textarea></textarea> tags. And although it did add this code, the
> next I'd try to change the article, it was cut of at the first </
> textarea>
>
> What can I do to change this?
>
> Thanks,
>
> Frank.


Use htmlentities() on the text that's going between the <textarea>
tags:

<http://www.php.net/htmlentities>

[Back to original 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

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