运维网's Archiver
论坛
›
php
› php 删除换行符
ispsh
发表于 2015-8-30 13:03:14
php 删除换行符
php 删除换行符
$text=str_replace("\n","",$text);
$text=str_replace("\r","",$text);
$text=str_replace("\r\n","",$text);
页:
[1]
查看完整版本:
php 删除换行符