Home >Backend Development >PHP Tutorial >php空格变_咋回事?

php空格变_咋回事?

WBOY
WBOYOriginal
2016-06-23 14:08:191131browse

各位大神,我又来了.我不知道咋回事,我输入到base里的句子,凡是有空格的,等我查找显示的时候,所有空格变成_了,和解呢?如何解决?
如果数据库里是Sports d'opposition可出来就变成Sports_d'opposition了.


回复讨论(解决方案)

请贴出代码以供分析

这应该是浏览器的问题,你用个替换不就可以了

Statement:
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