PHP 去除字符串中的空格、換行沉衣、制表符函數(shù):
function trimall($str){
$qian=array(" "," ","\t","\n","\r");
return str_replace($qian, '', $str);
}
PHP 去除字符串中的空格、換行沉衣、制表符函數(shù):
function trimall($str){
$qian=array(" "," ","\t","\n","\r");
return str_replace($qian, '', $str);
}