Re: textarea html generation problem
| From: | sean greenslade | Date: | Thu, 18 Sep 2008 16:11:11 +0000 |
| Subject: | Re: textarea html generation problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280451@lists.php.net to get a copy of this message | ||
I prefer the htmlentities because it allows me to edit the real code, not an
edited form of the code. All the <> still appear.
On Tue, Sep 16, 2008 at 9:41 AM, TQ White II <tq@justkidding.com> wrote:
>
> I add str_replace('textarea', 'textareaHIDE', ... to the display code and
> the reverse to the store it away code.
>
> Good luck.
>
> tqii
>
> On Sep 15, 2008, at 8:08 PM, 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
>
>
>
>
> TQ White II • 708-763-0100
> Website • JustKidding.com <http://justkidding.com/>
>
>
>
--
Feh.