Re: textarea html generation problem
| From: | Michael Kubler | Date: | Tue, 16 Sep 2008 05:02:36 +0000 |
| Subject: | Re: textarea html generation problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280256@lists.php.net to get a copy of this message | ||
htmlentities <http://au2.php.net/htmlentities>
'<' (less than) becomes '<'
'>' (greater than) becomes '>'
Michael Kubler
*G*rey *P*hoenix *P*roductions <http://www.greyphoenix.biz>
sean greenslade wrote:
Hi all! I am trying to make a PHP HTML editor. I have made the entire editor function, but it has a big problem. If the page contains a </textarea> tag, it ends the editor's textarea and the browser starts rendering the HTML. How do I go about preventing this from happening? Thanks a lot! --Zootboy