I have a PHP module that includes a config file, which supplies a value needed by the main file in the program. Unfortunately, right now, that variable in 'config.php' is hard coded. I wanted to make it so the user can change it, so I put an HTML 'SELECT' drop down box on the page with a submit button, but I'm having issues now with where to put the 'form' tags. Depending on where I put them, content generated by the rest of the code in that file may or may not show up.
In short, what I wanna do is have the select list change the value of that variable in 'config.php', then refresh the current page ('index.php') using the variable's new value.
I hope I'm explaining this ok. I'm kinda new to PHP.