+
95
-

php如何提取html代码中的纯文字去掉html标签?

php

请问php如何提取html代码中的纯文字?去掉html的标签,保留文字内容

网友回复

+
15
-

使用php函数 strip_tags 示例代码:

<?php
var_dump...

点击查看剩余70%

+
15
-

使用strip_tags函数

strip_tags($html)

我知道答案,我要回答