How to use fckeditor in php

To use fckeditor in your webpage. Download it from given address. Include the fckeditor.php file in your webpage where you want to include fckeditor interface. and simply type the given code in the form.

When you submit the form the data would be stored in "fieldname" variable in this given code. You can customize the toolbars by editing fckeditor/fckconfig.js file

Download fckeditor from

 <form method="post" name="ck">
 BasePath = '/website/pathtofckeditor/';
 $FCKeditor->Value = 'default value';
 $FCKeditor->ToolbarSet = "MyToolbar";
 $FCKeditor->Width = '600px';
 $FCKeditor->Height = '200px';
 <input type="submit" name="submit" value="Submit" />

Your value will be stored in 'fieldname' variable
How to use fckeditor in php How to use fckeditor in php Reviewed by Altaf Hussain on December 13, 2010 Rating: 5

No comments:

Altaf Web. Powered by Blogger.