toolmania1
New Member
After submitting data through a form, I use php to show a message that the mail was sent or not sent successfully. Is there a better way to do this?
Also, after that, how can I get back to the index.php page. If I could pass something like
index.php?page=contactUs
Then, I could get back to the main page. But, the mailing and printing of the message is done in a process_contactUs.php page. So, that is not in the normal flow of the page. Basically, if I could sleep(2000) or something so they saw the message, then do a header() redirect by url, that may work. Ideas?
Also, after that, how can I get back to the index.php page. If I could pass something like
index.php?page=contactUs
Then, I could get back to the main page. But, the mailing and printing of the message is done in a process_contactUs.php page. So, that is not in the normal flow of the page. Basically, if I could sleep(2000) or something so they saw the message, then do a header() redirect by url, that may work. Ideas?