删除html标签

strip_tags(string,allow)

strip_tags()可以删除内容中的所有html标签,仅仅留下文字,有特殊情况需要保留标签的写在“allow”部分。 比如删除所有html标签: