What's wrong with addslashes() on the way in and stripslashes() on the way out? Why would you want to convert it to it's HTML entity?
-- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php