如题所述
php去除字符串中的html标记,用到的工具:notepad++,代码如下:
1.
说明:strip_tags函数就是过滤html标签。
2.输出结果:Hello china!
注意事项:win和linux都适用!