php去除字符串(空格,换行,反斜杠)

stripslashes(trim(str_replace(array("\r\n", "\r", "\n", " ","'"), "", $strng)))

 

posted @ 2022-01-12 13:57  -韩  阅读(170)  评论(0编辑  收藏  举报