include只是include它的类,还要实例化,定义属性,如宽度长度等等。楼主用的是什么Editor,这里以FckEditor为例:include("../FCKeditor/fckeditor.php") ;
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '../FCKeditor/' ;
$oFCKeditor->ToolbarSet = 'Default' ;
$oFCKeditor->InstanceName = 'EditorDefault' ;
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '400' ;
$oFCKeditor->Create() ;
解决方案 »
- mysqli连接数据库问题
- 请教正则达人,如何去掉图片标签里src,alt,width,height之外的属性
- 执行MYSQL语句报 1064错误 求解?
- 使用PHP语句安装数据库,如何使用变量做表名
- 简单配置问题 不过很急 设置PHP 认识<? ?> 和<?= ?>
- 请各位帮忙讲解下 PHP中'@' 符号的用法
- 哪位老大能给解释一下这是什么原因?我晕!!!!在线等!!!!
- php于jsp一块儿集成在apache下,仍旧稳定,快速吗,可行吗
- 关于SESSION的问题
- 可不可以不用重装php就可以使得php支持某个函数库?
- 请各位帮忙__call()输出问题,会的回答,不会帮顶,来者有分,48小时内结贴
- php的传值,菜鸟问题!!!!
<textarea name="content" style="display:none"></textarea>
<iframe id="Editor" name="content" src="../include/HtmlEditor/index.html?ID=content" frameborder="0" marginheight="0" marginwidth="0" scrolling="No" style="height:320px;width:100%"> </iframe>
网易邮箱的文本编辑器,简洁,实用,方便,小巧。
适合ASP/PHP/.Net等Web程序。下载:
http://download.csdn.net/source/825077
$oFCKeditor->Value = $row[2]; 这句是怎么解释呀~~是不是在修改的时候才需要加进去?
如果同时加2个编辑器的话,$oFCKeditor->Value = $row[2]; 这2个编辑器的这句话是不是一样呢?
http://www.php100.com/php_view_460.html