removing strange characters from php string

前端 未结 14 955
忘了有多久
忘了有多久 2021-01-31 17:45

this is what i have right now

Drawing an RSS feed into the php, the raw xml from the rss feed reads:

Paul’s Confidence

The ph

14条回答
  •  长情又很酷
    2021-01-31 18:13

    Use the below PHP code to remove

    html_entity_decode(mb_convert_encoding(stripslashes($name), "HTML-ENTITIES", 'UTF-8'))
    

提交回复
热议问题