Hey folks.
I downloaded TinyMCE and followed the instructions to install and integrate it into a php web page. All fine and dandy.
I also figured out how to get the info to the page by adding the following to the section where I wanted the content to show:
However, when I refresh that page I get the following:
I also would like for the content that was placed into the editor to remain there so it can be edited in future without losing data. Something like what Joomla does? Can anyone please give me a simple english lesson on this?
I have tried the TinyMCE support forums but was told to ask elsewhere.
I have also searched Google but to no avail.
I know my options are:
1. Have the editor submit the content to MySQL and have the editor save the changes within itself somehow.
2. Submit the data to a flat file and have that data sent to the targetted area on the page.
Any ideas? Suggestions?
Thanks in advance.
I downloaded TinyMCE and followed the instructions to install and integrate it into a php web page. All fine and dandy.
I also figured out how to get the info to the page by adding the following to the section where I wanted the content to show:
PHP:
<?php
echo(stripslashes($_POST['content']));
?>
However, when I refresh that page I get the following:
Notice: Undefined index: content in C:\wamp\www\site\index.php on line 87
I also would like for the content that was placed into the editor to remain there so it can be edited in future without losing data. Something like what Joomla does? Can anyone please give me a simple english lesson on this?
I have tried the TinyMCE support forums but was told to ask elsewhere.
I have also searched Google but to no avail.
I know my options are:
1. Have the editor submit the content to MySQL and have the editor save the changes within itself somehow.
2. Submit the data to a flat file and have that data sent to the targetted area on the page.
Any ideas? Suggestions?
Thanks in advance.