下载个fck,看FCKeditor\_samples\php\ 里面的几个例子。

解决方案 »

  1.   

    楼主,你到底想干什么?给你个例子吧,这个我到现在都没有用……<script type="text/javascript">
    <!--
    // Automatically calculates the editor base path based on the _samples directory.
    // This is usefull only for these samples. A real application should use something like this:
    // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
    var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
    oFCKeditor.BasePath = sBasePath ;
    oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ;
    oFCKeditor.Create() ;
    //-->
    </script>
      

  2.   

    http://blog.chinaunix.net/u/19869/showart_211288.html
      

  3.   

    为何在本页显示$_POST[FCKeditor1]时正常,但写入数据库后却是乱码???
      

  4.   

    问题一:用$_POST[FCKeditor1]取得编辑框中的值
    问题二:
    <?PHP
    include ("fceditor/fckeditor.php");
    .......
    $oFCKeditor->Value= $LR;$LR为默认值
    ?>
    问题三:修改FCKeditor\editor\filemanager\browser\default\connectors\php\下的config.php和connector.php和fckconfig.js中关于PHP的内容