Hi,
Is there a way to convert any character to it's HTML &#xxx; equivalent in PHP?
For example A is the letter "A" where the number 65 represents it's ASCII code.
If that's true for all chars, you could use: $html = '&#'.ord('A').';';
Or you could just do it for a-z and A-Z.
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php