PHP过滤换行的方法
public function trimall($str)
{
$qian = array(" ", " ", "/t", "/n", "/r");
return str_replace($qian, '', $str);
}
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/19150.html
PHP过滤换行的方法
public function trimall($str)
{
$qian = array(" ", " ", "/t", "/n", "/r");
return str_replace($qian, '', $str);
}
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/19150.html