Jason, To loop through an array twice, you can use reset($array) to reset the internal pointer back to the first element. That will allow you to loop through again. http://www.php.net/manual/en/function.reset.php Joseph -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php