Are there any good function to replace special characters, for example double qoutes, with something that are more html-safe?
If only the PHP gods would bless us with a function such as htmlspecialchars() or maybe even htmlentities()... what a great world it would be... ;)
Take a look at the manual pages and they convert different character sets and handle quotes differently based upon the second parameter.
http://us2.php.net/htmlentities http://us2.php.net/htmlspecialchars
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php