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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -