Jump to content

[SOLVED] Simple HTML Editor


a1amattyj

Recommended Posts

Hello,

 

Im trying to create a simple HTML editor to edit a few html templates.

 

Im using a text area to edit the template HTML in.

 

 

<textarea>templatedata from mysql</textarea>

 

However, say one of the templates had a textarea in it, it would "screw up" the page as it would stop the initial text area.

 

Are there any ways around this?

 

i have tried using str_replace to replace all '<' in the data with a ascii html letter. But it won't take it.

 

Thanks alot!

Link to comment
https://forums.phpfreaks.com/topic/143398-solved-simple-html-editor/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.