I have an email contact form and on submitting, I want to load a "Thank you" page using the same target frame as the contact form. In otherwords, to replace the contact us page with a thank you page.
My current PHP script is:
[codebox]header( 'refresh: 1; url=thankyou.html'); # redirects to our thank you page[/codebox]
Which works, but rather than loading the thank you page in "_self", it opens that page in "_blank" (using HTML terms!).
Can anyone help?
Chris