Re: Question about Arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, October 10, 2006 1:04 pm, Alex Major wrote:
> I have a table, which contains 'setting' information for my website.
> The table has the following columns: setting_id, setting_name and
> setting_value.
> Now there are currently 30 settings stored in this table, however i am
> having trouble pulling values out on a 'as needed' basis.

For only 30 items in a table like this, I would have an include file
that just pulled them all down and put them in an array and be done
with it.

The query and loop for 30 items will be chump-change in your overall
resource usage.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux