Re: Objects as array key names??

From: Date: Sun, 16 Mar 2008 18:42:16 +0000
Subject: Re: Objects as array key names??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-271659@lists.php.net to get a copy of this message
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.

« previous php.general (#271659) next »