HI, > ... The easy way (Back to the Future 2 anyone...?) would be to use strip_tags() first: http://uk.php.net/strip_tags -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php