<textarea name="content" style="display:block">
</textarea>

解决方案 »

  1.   

    <?php
    $oFCKeditor = new FCKeditor('content') ;//实例化
    $oFCKeditor->BasePath = 'fckeditor/';//这个路径一定要和上面那个引入路径一致,否则会报错:找不到fckeditor.html页面
    //$oFCKeditor->Value = '' ;
    $oFCKeditor->Width = '100%' ; 
    $oFCKeditor->Height = '350' ; 
    ?>
    <form method="post" action="upload.php"  enctype="multipart/form-data">
    <?php
    $oFCKeditor->Create() ;
    <?
    </form>
      

  2.   

    有谁做过在smarty 模板下使用Fckeditor 在线编辑器的....要能获取内容的...给个例子吧.
      

  3.   

    article.php:
    -------------
    echo $_POST['content'];//it will output the values$editor = new FCKeditor('content');
    $smarty = new Smarty;
    //______________________________________________________________
    //editor config:$editor->BasePath = 'FCKeditor/';
    $editor->Width = '50%';
    $editor->Height = 500;
    $editor->ToolbarSet = 'Default';
    $editor->Value = "";
    //_____________________________________________________________
    $smarty->assign_by_ref("editor",$editor);
    article.php(tpl):
    ---------------
    <form name="articlePost" method="post" action="article.php">
    <table><tr><td>{$editor->Create()}</td></table>
    </form>
      

  4.   

    to: foolbirdflyfirst() 问题解决了,太感谢你了...待会给你分啊..同时也要感谢CSDN上的所有朋友
      

  5.   

    $content=$_POST['FCKeditor']
    其中"FCKeditor"是实例fckeditor时的参数名