Mega Code Archive

 
Categories / Php / HTML
 

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

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