Home >php教程 >php手册 >json 去空格

json 去空格

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 19:34:072008browse

json去空格 无 $row[title]=urlencode(preg_replace("/(\s|\nbsp\;| |\xc2\xa0)/","",$row[title]));

json 去空格
$row[title]=urlencode(preg_replace("/(\s|\&nbsp\;| |\xc2\xa0)/","",$row[title]));
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