+ -
当前位置:首页 → 问答吧 → 如何 php 程序从新闻数据库中获取到的新闻内容放到 FCKeditor 中啊?

如何 php 程序从新闻数据库中获取到的新闻内容放到 FCKeditor 中啊?

时间:2010-10-13

来源:互联网

新闻添加页面代码如下:
复制代码
  1. <td><?php
  2.               $oFCKeditor = new FCKeditor('nr') ;//建立对象其中nr就是数据库字段
  3.               $oFCKeditor->BasePath = '../fckeditor/' ;//FCKeditor所在的位置
  4.               $oFCKeditor->ToolbarSet = 'Default' ;//工具按钮
  5.               $oFCKeditor->Width = '85%' ;
  6.               
  7.               $oFCKeditor->Height = '400' ;
  8.               
  9.               $oFCKeditor->Create();
  10.              ?></td>


现在我做了个新闻修改页面  请问改如何用FCKeditor调用出数据库中新闻内容啊!  

作者: yk19880829   发布时间: 2010-10-13

给FCKeditor 内容赋值,好好看看帮助文档一定有答案的!

作者: lbc227540   发布时间: 2010-10-13