Just echo the $new_html
.
$new_html = html_entity_decode($ohtml, ENT_QUOTES);
echo $new_html;
EDIT: Slow I am.. Trying to understand his question took so long others already posted comments with the solution...
EDIT2: Try this code, it's working for me:
$html = "<b>I hate entities</b>";
$ohtml = htmlentities($html);
$new_html = html_entity_decode($ohtml, ENT_QUOTES);
echo $new_html;