Had a look at it and much easier to use LIKE with wildcards. Was unsure whether the query was case sensitive that is why I asked. As it turns out it is not. R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php