string html_entity_decode ( string html [, int options [, string charset]] ) converts an &-escaped string into its original format : html_entity_decode « HTML « PHP






string html_entity_decode ( string html [, int options [, string charset]] ) converts an &-escaped string into its original format

 
<?
    $f = "Bill & Ben";
    $s = htmlentities($f);

    $unsafe = html_entity_decode($s);
?>
  
  








Related examples in the same category