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> 
   include_once "../Misc/ckeditor/ckeditor.php"; 
   $CKEditor = new CKEditor(); 
   $CKEditor->basePath = '../Misc/ckeditor/'; 


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

Recommended Answers

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.