如何在输入表单中的引号之前删除\ [英] How to remove \ before quotes in a input form
本文介绍了如何在输入表单中的引号之前删除\的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在我的网站上发布一些内容并在其中使用引号时,我得到了类似这样的内容
b我需要做些什么来修复这个问题的代码? stripslashes
。
Hi when I post something on my site and use quotations in it I get something like this
\"
What do I need to do to my code to fix this?
解决方案
It’s probably Magic Quotes that’s causing this behavior. Try to disable them or remove them with stripslashes
.
这篇关于如何在输入表单中的引号之前删除\的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文