Re: SQL or array ?

From: Date: Sun, 24 Apr 2005 11:25:36 +0000
Subject: Re: SQL or array ?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-39264@lists.php.net to get a copy of this message
Okay, thanks all. I think what I'll do is save the data in a DB, and then read it in to an array when the script is first called. That way it doesn't need to perform the SQL query per mime_type hundreds of times, and can just key it from the array. How would I go about benchmarking the different options? What tools are there to do this? Paul

« previous php.db (#39264) next »