PHP/HTML/html entity decode — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 10:05, 26 мая 2010

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

   <source lang="html4strict">

<?

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

?>

 </source>