note 19439 added to function.get-html-translation-table

From: Date: Wed, 27 Feb 2002 17:13:04 +0000
Subject: note 19439 added to function.get-html-translation-table
Groups: php.notes 
Request: Send a blank email to php-notes+get-27123@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. -- http://www.php.net/manual/en/function.get-html-translation-table.php http://master.php.net/manage/user-notes.php?action=edit+19439 http://master.php.net/manage/user-notes.php?action=delete+19439 http://master.php.net/manage/user-notes.php?action=reject+19439

« previous php.notes (#27123) next »