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@xxxxxxxxxxxxxxx> 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.