<td  align="left" class="leftspace2"><input type="hidden" name="FIELD_Content" value="<{$B_Content}>">
<IFRAME ID="eWebEditor" src="../../eweb/ewebeditor.htm?id=FIELD_Content&style=full" frameborder="0" scrolling="no" width="100%" height="350"></IFRAME>eweb是这样,不知道fck是不是

解决方案 »

  1.   

    我的是这样<input type="hidden" name="content" id="content" value="<?php echo $myrow["wyx_content"]?>">
    <iframe id="Editor" name="content" src="../HtmlEditor/index.html?ID=content" frameborder="0" marginheight="0" marginwidth="0" scrolling="No" style="height:320px;width:100%"> </iframe>
      

  2.   


    include("../FCKeditor/fckeditor.php") ;//引用编辑器文件
    $oFCKeditor = new FCKeditor('FCKeditor1') ; //实例化对象
    $oFCKeditor->BasePath = '../FCKeditor/' ; //定义路径
    $oFCKeditor->ToolbarSet = 'Basic' ; //编辑器功能选择
    $oFCKeditor->InstanceName = 'body' ; //编辑器名称,保存数据的变量
    $oFCKeditor->Width = '100%' ; //编辑器宽度
    $oFCKeditor->Height = '450' ; //编辑器高度
    $oFCKeditor->Value = $rs[0]["list_content"] ;//编辑器默认值
    $oFCKeditor->Create() ;//创建编辑器rs[0]["list_content"] 对应编辑器的默认值,也就是你查找数据库后,得到数据的变量,放这个位置,编辑器就会有对应值了
    提交后,用$_POST["body"];就是你得到编辑器里编辑后的值