[更新答案]
你需要把你的fckeditor代码放在
标签而不是在顶部。此外,
$_POST["FCKEditor"]
需要放进去
$oFCKeditor->Value
变量。
这样做:它在我的机器上工作正常,并在fckeditor文本区域内显示格式化的HTML:
EditorTitle :
include("fckeditor.php");
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
$oFCKeditor = new FCKeditor('FCKeditor') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = $_POST["FCKeditor"] ;
$oFCKeditor->Create() ;
?>