Hi,
I'm currently putting together a form as part of a larger PHP project. What I want to be able to do is, when this form is submitted, include a config.php file where I can read all the variables (such as the database info the store the values), and then once all the form information has been stored, redirect the user to another page.
I've tried to use the header ("Location: [url]http:///example.com[/url]") function but get an error due to the fact that I've already executed some PHP code by including the file. Is there any way around this, or any other method I could use? Any help would be really, really appreciated.
Thanks.