* Thus wrote Uros Gruber ([EMAIL PROTECTED]):
> Hello!
>
> I just made some speed tests getting configuration from DB.
>
> For now I figured 2 ways doing this.
>
> 1. One value in each row
>
> 2. using serialize($config) and saving this in one row.
>$config is predefined array of configurat
Uros Gruber wrote:
Hello!
I just made some speed tests getting configuration from DB.
For now I figured 2 ways doing this.
1. One value in each row
id | name| val
--
1| name1 | value1
2. using serialize($config) and saving this in one row.
$confi
Hello!
I just made some speed tests getting configuration from DB.
For now I figured 2 ways doing this.
1. One value in each row
id | name| val
--
1| name1 | value1
2. using serialize($config) and saving this in one row.
$config is predefined arr
Hi,
You don't need to do that way. I also test speed if you select for
example 5 diferent values. You get 5 queries.
I just select everything in one place then I use
$config['config_color']
or you can write some function getConfig('config_color') to get
selected value from this array.
I use te
4 matches
Mail list logo