Having a blonde moment.... the code to this post does work...there was no error handling in the code for the array_intersect() incase either of the arrays contained no data. My mistake. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php