Home > Backend Development > PHP Tutorial > PHP strip_tags() 函数

PHP strip_tags() 函数

WBOY
Release: 2016-06-23 14:35:16
Original
957 people have browsed it

定义和用法

strip_tags() 函数剥去 HTML、XML 以及 PHP 的标签。

语法strip_tags(string,allow)

参数描述
string 必需。规定要检查的字符串。
allow 可选。规定允许的标签。这些标签不会被删除。

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