|
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]
|