本文共 77 字,大约阅读时间需要 1 分钟。
在php中过滤回车、换行
\r 回车
\n 换行
$str= str_replace(array("\n","\r"),"",$str);//过滤换行回车
转载地址:http://zcgrl.baihongyu.com/