VicHost Posted February 21, 2010 Share Posted February 21, 2010 Hi folks. I am very new to PHP and to MySQL etc so please forgive me for being a complete No0b. I am in the process of creating my first PHP website. I want to be able to use TinyMCE or any compatible text editor to update pages. However, I am having issues getting the info I post in the editor to display on my page. I did post on the TinyMCE forums but they told me to post on a PHP support forum. I followed the instructions to get TinyMCE installed and it displays fine. I managed also to have the content display on my index page in a section I wanted it displayed by using the following: <?php echo(stripslashes($_POST['content'])); ?> When I submit the form I am taken to the index page and the data is displayed. But if I refresh the page, I get the following error: Notice: Undefined index: content in C:\wamp\www\site\index.php on line 87 I can't for the life of me figure out why or how I am meant to do this correctly. Can anyone point me in the right directions on what to do? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/192798-having-a-problem-getting-tinymce-to-work/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.