PHP コード
/*
* showfck() エディター呼び出し関数
* @name 名前 (必須)
* @val 値のデフォルト値
* @toolbarset fck ツールバー名
* @ width width
* @height height
*/
function showfck($name, $val= '', $toolbarset = '', $width = '100%', $height = ' 200' ){
$classname = 'fckname';
echo "
";
require_once './ include/ fckeditor/fckeditor.php';
$fck = 新しい FCKeditor($name);
$fck->BasePath = './include/fckeditor/'; >$fck->Config['CustomConfigurationsPath'] = $fck->BasePath .
$fck->ToolbarSet = $toolbarset; ->値 = $val;
$fck->幅 = $width;
$fck->高さ = $height; ;Create('');
エコー "
";