存储html时,Mysql不会更新longtext列 [英] Mysql won't Update longtext column when html is stored

查看:334
本文介绍了存储html时,Mysql不会更新longtext列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在mysql表中有一个Longtext列,用户可以存储来自wysiwyg textarea的文本,当我存储复制和粘贴的文本时微软的话,那个文字是不是可以替换?

有没有人知道这个原因?因为如果我输入它的罚款。它只发生在word文档中留空的行。



种类问候

Hi

I have a Longtext column in a mysql table which a user can store text from a wysiwyg textarea, when i store text that was copied and pasted from microsoft word, that text cannot be replaced?
does any one know the cause of this? because if I type it out its fine. and it only occurs when there was a line left blank in the word document.

Kind Regards

推荐答案

查看数据库引擎的安全设置:将html插入数据库通常被认为是危险的并且被阻止。
Look at the security settings of your database engine: inserting html into a database is often considered dangerous and prevented.


这篇关于存储html时,Mysql不会更新longtext列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆