I am constructing a config file for certain variables to be used in a script that will be changed from time to time, and would like to make any changes all via a single webpage.
The config file is a .txt flat file with entries like this:
$variable1 = “sometext”;
$variable2 = “somenumber”;
On the single update page, I plan to use a separate SUBMIT button so that changes will ONLY be made to the desired $variable in the config file.
When loading single page with multiple fields from the config file, each of the $variable fields needs to be populated with the current $variable settings so I can see the current status before making any changes.
There must be a simple way to do this. Maybe?
Thanks very much for any assistance.
Ciao,
StuckInLimbo