属于什么部类?应该用什么函数进行过滤

WBOY
Release: 2016-06-13 10:56:47
Original
722 people have browsed it

 属于什么类型?应该用什么函数进行过滤、
strip_tags的话只能过滤html的标签,我想把 等这些转义字符给过滤掉,有这样的函数吗??

------解决方案--------------------
那个函数不会转化   

PHP code
$str = "&"<> "; echo preg_replace('/ /','',$str);<div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!