php除开html标签

WBOY
Release: 2016-06-13 11:10:24
Original
878 people have browsed it

php去除html标签
有段HTML是这样的

<br /><p><span>......</span></p><br />
Copy after login

我用函数strip_tags($str,"

")去除HTML代码,但是去除不了的标签,请问有什么办法保留

标签去除标签吗?万分感谢!!

PHP strip_tags
------解决方案--------------------
你的代码不可以?

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