Robert Cummings wrote:
Imagine 200 customers in your example... your example will hit the DB 201 times. The above hits the DB twice.
My code was intended to get the concept across. Thanks for the suggestions though.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php