0

Hello guys!
How to load content into the ckeditor? Pls look http://ckeditor.com/demo for example.
My code is below:

<textarea class="ckeditor" name="pagecontent" cols="100" rows="20" id="pagecontent"></textarea> 
<?php 
   include_once "../Misc/ckeditor/ckeditor.php"; 
   $CKEditor = new CKEditor(); 
   $CKEditor->basePath = '../Misc/ckeditor/'; 
   $CKEditor->replace("pagecontent"); 


?>

I want the content automatically loaded from MySQL database to the CKEditor while the person opening the page.
Thanks for help.

2
Contributors
2
Replies
7
Views
6 Years
Discussion Span
Last Post by mrjimoy_05
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.