Ok I have a site, the site allows me to create multiple pages dynamically, the pages are smarty pages. The editor for the pages is tiny_mce
When I go to create the page all goes well, I design then paste the code in html to the tiny_mce interface. When I submit it displays fine and I can see the code made it to the database. So this is good.
Now when I go edit the page, everything below the first text area is deleted and is deleted from the database. I did nothing but click the edit button.
Why does it do this? How can I fix this or is there a work around for it?
Also is there a different way to display code on a site without needing a text area that offers the same as a text area such as displaying the code and not its output as well as offer the wrapping of a text area.
Please note that multiple text areas are important.
Any help is greatly appreciated. Thank you.