php - How to convert htmlspecialchars into normal text? -
I have a mySQL database and I am using special character of html to format text before the inclusion. .. I have found: $ firstname = htmlspecialchars ("O'brian", ENT_QUOTES, 'UTF-8');
And if I resonate
$ firstname; I
O & amp; # 039; Brian
How can I convert back to normal text?
Comments
Post a Comment