set values once
- From: "julian_m" <julianmaisano@xxxxxxxxx>
- Date: 29 Sep 2005 18:18:55 -0700
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
.
- Follow-Ups:
- Re: set values once
- From: Colin McKinnon
- Re: set values once
- Prev by Date: Passing on a value to a SUBMIT button - can it be done?
- Next by Date: Re: Ping+Port Routine?
- Previous by thread: Passing on a value to a SUBMIT button - can it be done?
- Next by thread: Re: set values once
- Index(es):