I'm currently using CKEditor from CKEDITOR.COM.
Anyway, I'm trying to load the contents of a webpage into the editor. The code below shows the data from the editor being posted to a webpage.
<?
$editor_data = ($_POST[ 'editor1' ]);
?>
'Editor1' is the data from the WYSIWYG editor. This is placed in the html file. This works good. But now I would like this reversed in that the information from the html file is loaded into the editor so that it can be updated by the user.
Do I use something like a Get statement? I don't need to use file browsing to locate the html file. I would have a static entry I guess like Get="File.HTML" , something like that. I'm not sure of the correct syntax. Otherwise everything else works fine.
Any assistance will be appreciated.
Thanks
Anyway, I'm trying to load the contents of a webpage into the editor. The code below shows the data from the editor being posted to a webpage.
<?
$editor_data = ($_POST[ 'editor1' ]);
?>
'Editor1' is the data from the WYSIWYG editor. This is placed in the html file. This works good. But now I would like this reversed in that the information from the html file is loaded into the editor so that it can be updated by the user.
Do I use something like a Get statement? I don't need to use file browsing to locate the html file. I would have a static entry I guess like Get="File.HTML" , something like that. I'm not sure of the correct syntax. Otherwise everything else works fine.
Any assistance will be appreciated.
Thanks