I have a php page for submitting resumes. once they click submit they info all posts to mail.php
once the mail is sent i would like the user to go back to a different page on the website (where the job opportunity are located)
is is there any sort of command i can use to redirect to a different page after the mail.php is done with its business??
Thanks
On a related note, one important thing about the PHP header command, you must make sure that you run this command BEFORE any content is displayed on that page you are running it on, or else it will not work.
For example, this will NOT work:
but this will work:
Basically, the header command will only ever work if it is used in the PHP script BEFORE any static content or even HTML tags are spit out of the script.