php去除连续空格与换行符
代码:
php去除换行的两种方法
//方法1 $content=str_replace("n","",$content); echo $content;
//方法2 $content=preg_replace("/s/","",$content); echo $content;
CopyRight © 2010-2021 脚本学堂 Jb200.com , All Rights Reserved.