note 8220 added to htmlentities
| From: | mikep at oeone dot com | Date: | Thu, 31 Aug 2000 17:42:40 +0000 |
| Subject: | note 8220 added to htmlentities | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3795@lists.php.net to get a copy of this message | ||
To backwards,
$trans = get_html_transition_table(HTMLENTITIES);
$trans = array_flip ($trans);
$original = strtr ($str, $trans);
Where $str is the string that had the HTMLENTITIES encoded text in it. It will now be back to
normal text...
Mike
http://www.php.net/manual/function.htmlentities.php