|
Posted by julian_m on 09/30/05 04:18
let say that i want to allow someone (the site admin maybe) to chose
certain configuration values, for instance
* number of products per page
* picture widht
* back color
....
....
Right now, i just have all those info in a php page, so it can't be
modified
$number of products_per_page = 20;
$picture_widht = 2;
$back_color = #FFFFFF;
I could keep this info in the database, but i should read it every time
a page is rendered... (open connection, query, close conn)
What would be the best way to do what i'm need? Is there any chance to
"read once, keep value for ever" ?
regards - jm
Navigation:
[Reply to this message]
|