关于eWebEditor的数据库读取问题

来源:百度知道 编辑:UC知道 时间:2024/05/27 15:06:26
我有个郁闷问题,在一个新闻发布系统时用eWebEditor时,能够把里面的数据写入数据库,可是从数据库里读出来却出问题了,一遇到引号“”就读不出了~~请问这是怎么回事?比如 图片<IMG src="www.baidu.com"... 只能读出 图片<IMG src= 其他的都读不出了~~

你到
http://www.ewebeditor.net/documentation/help.html?url=http://www.ewebeditor.net/documentation/1.html
看看里面的3.3.4,需要编码的

3.3.4 注意事项
1. 调用参数id与表单项名必须相同

如,下面的代码中,蓝色部分必需是相同的,且区分大小写。

<input type="hidden" name="content1" value="">

<iframe ID="eWebEditor1" src="/ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="500" height="350"></iframe>

2. eWebEditor允许在同一表单里有多个实例,所以请保证id在整个网页中是唯一的。

如:

<form>

<input type="hidden" name="content1" value="">

<iframe ID="eWebEditor1" src="/ewebeditor.htm?id=content1&style=coolblue" frameborder=