求解:PHP 复制到在线编辑器的内容,添加不到数据库中去解决方案

WBOY
Release: 2016-06-13 13:40:18
Original
793 people have browsed it

求解:PHP 复制到在线编辑器的内容,添加不到数据库中去
用的编辑器是 kinderEditor 。
自己手动输入的内容,可以添加到数据库中去。
但是从WORD 或记事本里复制的内容却添加不到数据库中去,也不提示什么错误。
通过 echo $sql; 可以看到内容,是没有问题的,就是添加不到数据库中去。

------解决方案--------------------
到mysql里面运行你的$sql,看能不能成功

检查下你字段设置的长度看有没有问题
------解决方案--------------------
要转码的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!