PHP integrates FCK function code. Copy the code as follows: define a function to call FCKeditorfunctioncall_fck ($ input_name, $ input_value, $ w780, $ h580) {include_oncefckeditorfckeditor.php; $ fcked
The code is as follows:
// Define a function to call FCKeditor
Function call_fck ($ input_name, $ input_value, $ w = '000000', $ h = '000000 ')
{
Include_once 'fckeditor/fckeditor. php ';
$ Fcked = new FCKeditor ($ input_name );
$ Fcked-> BasePath = 'fckeditor /';
$ Fcked-> ToolbarSet = 'simple'; // toolbar settings
$ Fcked-> InstanceName = $ input_name;
$ Fcked-> Width = $ w;
$ Fcked-> Height = $ h;
$ Fcked-> Value = $ input_value;
$ Fck_area = $ fcked-> CreateHtml ();
$ This-> smarty-> assign ('fck _ region', $ fck_area );
Unset ($ fck_area );
Unset ($ fcked );
}
The http://www.bkjia.com/PHPjc/319538.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319538.htmlTechArticle code is as follows: // define a function to call the FCKeditor function call_fck ($ input_name, $ input_value, $ w = '000000', $ h = '000000 ') {shortde_once 'fckeditor/fckeditor. php '; $ fcked...