fck使用
2017-02-07 21:30:27
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">
精简版
2.只要用PHP输出格式
$oFCKeditor = new FCKeditor('content');
$oFCKeditor->BasePath = '../fckeditor/';
$oFCKeditor->Width = '100%';
$oFCKeditor->Height = 350;
$oFCKeditor->Value = @$row['content'];
$oFCKeditor->Create();
?>
$content = $_POST['content'];
if(!get_magic_quotes_gpc())
{
$content = addslashes($content);
}
发表评论: