note 19439 deleted from function.get-html-translation-table by betz
| From: | betz@php.net | Date: | Sun, 24 Nov 2002 13:09:12 +0000 |
| Subject: | note 19439 deleted from function.get-html-translation-table by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-39910@lists.php.net to get a copy of this message | ||
There is an error in the second part of the Example 1 above :
write
$original = strtr($encoded, $trans);
instead of
$original = strtr($str, $trans);
because I assume you want to restore the original from the encoded version.