phpmailer runs ok but thankyou page is not displayed
On a previous post I was recommended by your good selves to stop using an old Perl script and use instead phpmailer. This I have now implemented BUT…
After my contact form has been completed and submitted I want the thank you page to be displayed. Although the email is sent successfully the thank you page is not displayed. I got the code off the Internet and I do largely understand how it works:
the contact_form.php displays the form and when Submit is clicked it uses action=”send.php” to load the send.php page
The send.php page collects the form data and uses phpmailer to send the email, which it does successfully. But it does not then display the thankyou.php page
Hopefully the gurus on this forum will spot the error I have made super-fast, such is my confidence in your talents! My contact form is at
http://dave.higgsy.com/form/contact_form.php
Many thanks in advance
david
