Decode html encoded contents in php Posted on September 20, 2017 by Chandan Sharma in CodeIgniter, 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:TwitterFacebook Published by Chandan Sharma View all posts by Chandan Sharma