> < img src="image.jpg">Your script doesn't catch above ;)So don't write HTML like that.Depends where the HTML is coming from, it might be user input....
Ok, add \s* after the initial angle bracket. -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php