CodeIgniter / PHPDecode html encoded contents in php September 20, 2017 Chandan SharmaComment on Decode html encoded contents in php## Html contents decode in php $contents = Original Content with html encoded tags; $contents_decoded = htmlspecialchars_decode($contents, ENT_QUOTES); echo html_entity_decode($contents_decoded);Share this:FacebookX