Re: [PHP] textarea html generation problem

2008-09-18 Thread sean greenslade
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 [EMAIL PROTECTED] 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.


Re: [PHP] textarea html generation problem

2008-09-16 Thread Ashley Sheridan
On Tue, 2008-09-16 at 17:15 +0930, Michael Kubler wrote:
 I've just been playing with FCKeditor, it seem pretty good.
 Good documentation and I could get it working fairly quickly, although I 
 haven't got it picking up the style sheet from a secondary domain yet, 
 but that's probably a PEBKAC on my part.
 
 Michael Kubler
 *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz
 
 
 
 Ashley Sheridan wrote:
  Whats wrong with trying one of the major ones in use at the moment, like
  FCKEditor?
 
  Ash
  www.ashleysheridan.co.uk
It's just unfortunate that the guys initials happened to be what they
were... More than one client has raised an eyebrow when they saw
FCKEditor...


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] textarea html generation problem

2008-09-16 Thread sean greenslade
Thanks to all for your responses. I ended up using htmlentities. Thanks
Stephen.

Also, the reason I didn't use a premade editor is that I am planning on
selling a web-editor system and don't want any troubles with licenses.


quote
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
/quote