PHP to Display JSON/HTML Return -


so i'm using php display data api outputs json. 1 of json data fields has output includes html used format text. problem how use php display json have returned data html in render html.

here's php...

echo "description:".$results['description']."</br>"; 

the ['description'] field, returns information such as..

<p>this example of returned description.<br> includes html.</p> 

so how break out of php display return data's html?

decode html.

read php html_entity_decode()

then can

echo "description:".html_entity_decode($results['description'])."</br>";


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -