PHP/HTML/html entity decode — различия между версиями
Admin (обсуждение | вклад) м (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>