How to go to a URL
Posted: Sun May 25, 2003 3:10 pm
Hello all,
I'm very new to PHP. I have studied the manual but I can't find the function that I need. How do I make the browser go to a specific page (or URL)? To be more precise, I want to do the following. I have page1.php with a form, that goes to page2.php when the submit button is pressed. In page2.php the script adds a record to a MySQL database. I then want it to return to page1.php when it's finished. How do I do that?
Please tell me if you want me to supply the code.
Thanks in advance,
Jerome Smith
I'm very new to PHP. I have studied the manual but I can't find the function that I need. How do I make the browser go to a specific page (or URL)? To be more precise, I want to do the following. I have page1.php with a form, that goes to page2.php when the submit button is pressed. In page2.php the script adds a record to a MySQL database. I then want it to return to page1.php when it's finished. How do I do that?
Please tell me if you want me to supply the code.
Thanks in advance,
Jerome Smith