Remove encoding using PHP

前端 未结 3 2064
星月不相逢
星月不相逢 2021-02-13 18:02

I have the following text:

We%27re%20proud%20to%20introduce%20the%20Amazing

I\'d like to remove the encoding using PHP, but using html_en

3条回答
  •  抹茶落季
    2021-02-13 18:45

    %27 and %20 are URL encoded entities.

    You'll want to use use urldecode() to decode this. urlencode() exists as well for encoding URL parameters.

提交回复
热议问题