以前用textarea 向数据库中插入数据 ,前两天改成fckeditor ,再添加数据,前台就不显示,数据库中能得到数据,我发现 title可以显示(title没有使用 fckedior),但是内容(content)不显示 内容前面加了一个unserialize 不知道是不是fckedior 发送的数据是不是不符合 unserialize的格式
请大家指点下 ,,,,谢谢!!
请大家指点下 ,,,,谢谢!!
解决方案 »
- 调查:你们都有看过PHP的手册吗?~~~~散分
- php的问题,请帮忙
- mysql Inner Join表ON 字段为空时怎么显示数据?谢谢!
- PHP怎么在后台对图片点击进行判断?
- PHP接受地址栏参数
- 这年头招人真难,深圳美资公司招聘LAMP Engineer<!--中小型WEB项目-->
- 这个网站是用DEDECMS的吗?
- php adodb执行update语句怎么判断语句执行成功?
- 【求助】有谁用Yii做过博客或其它项目,有的话麻烦发到我QQ邮箱
- ECshop在DELL power edge2905服务器上装不上,安装数据.....失败
- 遇到一个问题,大家帮忙解决一下
- jquery+php:发布一小小的网站安全策略,望高手捧场
你的fck是不是用ifrmae引入的?
<INPUT id=content___Config style="DISPLAY: none" type=hidden>
<IFRAME id=content___Frame
src="../../fckeditor/editor/fckeditor.html?InstanceName=welefen&Toolbar=My" frameBorder=0 width=100% scrolling=no height="260" >
</IFRAME> 大概是这样把值赋在 <INPUT id=content style="DISPLAY: none" type="hidden" name="welefen" value="这里" >
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'content' ) ;
oFCKeditor.Height = 600;
oFCKeditor.Width = 800;
oFCKeditor.BasePath = './js/fckeditor/'; oFCKeditor.ReplaceTextarea() ;
}
</script>
<textarea id="content" name="news[content]" style="width:719px; height:460px; border:#CCCCCC solid 1px></textarea>