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.
then can
echo "description:".html_entity_decode($results['description'])."</br>";
Comments
Post a Comment