php去掉标签
admin 阅读:80 2024-03-02
function removeLabel($input){
$ret=trim(strip_tags($input));
$ret=preg_replace("/"/is","",$ret);
$ret=preg_replace("/ /is","",$ret);
$ret=htmlspecialchars($ret);
return $ret;
}
声明
1、部分文章来源于网络,仅作为参考。 2、如果网站中图片和文字侵犯了您的版权,请联系1943759704@qq.com处理!



