note 33063 modified in function.htmlspecialchars by didou

From: Date: Mon, 11 Aug 2003 22:01:42 +0000
Subject: note 33063 modified in function.htmlspecialchars by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53930@lists.php.net to get a copy of this message
most simple function for decoding html-encoded strings: function htmldecode($encoded) { return strstr($encoded,array_flip(get_html_translation_table(HTML_ENTITIES))); } --was-- most simple function for decoding html-encoded strings: function htmldecode($encoded) { return strtr($encoded,array_flip(get_html_translation_table(HTML_ENTITIES))); } http://www.php.net/manual/en/function.htmlspecialchars.php

« previous php.notes (#53930) next »