<?php
// use fckeditor for users to post their messages
$myFCKeditor = new FCKeditor('content');
$myFCKeditor->BasePath="./includes/fckeditor/";
$myFCKeditor->ToolbarSet="Basic";
$myFCKeditor->Config['EnterMode']='br';
// $myFCKeditor->Config['SkinPath']='./includes/fckeditor/editor/skins/default/';
$myFCKeditor->Value='Hello';
$myFCKeditor->Create();
?>
这是写留言的时候可以用表情,但是为什么在实时视图显示了,但运行不出?????急急急求教

解决方案 »

  1.   

    但是为什么在实时视图显示了,但运行不出?????
    看看显示时,html源码是什么,是否图片路径不对。
      

  2.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="../../bunengbenglu/MapleLeaf-1-5/includes/index.js"></script>
    <link rel="stylesheet" href="../../bunengbenglu/MapleLeaf-1-5/style/common.css" type="text/css">
    <title>欢迎光临<?php echo $board_name;?></title>
    </head><body><!-- background sound start--><bgsound src="http://www.rainyjune.cn/music/thisnight.wma" /><!--background sound end-->
    <div id="container">
    <h1>欢迎留言</h1>