I found this in the PHP Manual, but I haven't tried it: // For users prior to PHP 4.3.0 you may do this: function unhtmlentities ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
|-----Original Message----- |From: Bobo Wieland [mailto:[EMAIL PROTECTED]] |Sent: Saturday, February 15, 2003 10:56 AM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] html_entity_decode | | |Hi! | |i just noticed that the server I'm using doesn't got the |latest version of PHP installed... Until I get the people |managing it to upgrade, does anyone have the function |html_entity_decode-code so that I can include it in my pages? | | |.bobo | | |-- |PHP Windows Mailing List (http://www.php.net/) |To unsubscribe, visit: http://www.php.net/unsub.php | | | -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php