I receive html entities from db and not text

Dimitris Kerestetzis Posted in Beginning Developers 10 years ago

Hello,

after that "echo"

echo html_entity_decode($NewOssnGetPage->description, , ENT_QUOTES, "utf-8");

I receive that results from database

<p>οτι ναναι</p>

Dont decode the data from the table ossn_object.
Why dont decode the data from database to text. The data is greek(html entities) in database

Replies
Indonesian Arsalan Shah Replied 10 years ago

You don't need to decode entities for security reason. If you really wanted to decode please have a look on google.com