定义和用法
strip_tags() 函数剥去 HTML、XML 以及 PHP 的标签。
语法strip_tags(string,allow)
参数描述
string | 必需。规定要检查的字符串。 |
allow | 可选。规定允许的标签。这些标签不会被删除。 |
Statement: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