//封装 去除空格函数
public function trimall($str){
$front = array(" "," ","\t","\n","\r");
$back = array("","","","","");
return str_replace($front,$back,$str);
}
//封装 去除空格函数
public function trimall($str){
$front = array(" "," ","\t","\n","\r");
$back = array("","","","","");
return str_replace($front,$back,$str);
}