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

Popular posts from this blog

Out of index C/C++ -

algorithm - Graph cut with python: How to set up the graph correctly? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -