也即是我的文章已经发表了,希望从数据库读取出来在fckeditor编辑器里面进行编辑,应该怎么做。如:$show['content']是需要读出的数据,应该放在那里,或者具体应该怎么做?求求大侠指教,最好可以具体点。我在网上找了一晚的资料了,还没解决~~~555555555
解决方案 »
- 全局变量,生命周期和APACHE相同的有哪几个对象可以使用
- PHP SHELL STREAM !
- flash和php通信加xml
- php面相对象会员系统php与Html分离
- smarty模版应用,急救!!!!!!!!!!
- PHP时间怎么用?在线等待(100分)
- 如何在php下生成word文件,php+服务器装在linux下没有word,希望在客户端生成文件.
- 如何评价一个站点的性能??
- windows下php的GD支持(百分相送)
- iOS与php交互,ios返回json格式字典,php如何做个循环然后插入数据库?
- 求救:PHP大侠们请进
- Lost connection to MySQL Server during query
<?php
include("../../fckeditor.php") ;$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;$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() ;
?>
把 $oFCKeditor->Value 的值改为
$oFCKeditor->Value = $show['content'];
不就行啦