$str="what's this"; $en_str=htmlentities($str,ENT_QUOTES); echo $en_str."";
echo html_entity_decode($en_str,ENT_QUOTES);
what's this<br/> what's this