Many of our templates come with a simple, .php-driven form. It's not very complicated and you can set up a contact form in just a few minutes. It's just a matter of putting the pieces together.
There is one crucial part of the form coding that is missing. That is the "action" that the form will take once the submit button is clicked. Form-to-email scripts will vary, although in theory they are much alike.
Once the form has been submitted, you can redirect the user to your "thankyou.html" page. On the php script, near the bottom of the page, you will need to set the absolute file path to your Thank You page:
Special Note: While most web hosts support PHP5, there may be an instance where your web host does not. In these cases, they will usually offer their own form-to-email scripts. Generally, the form on the contact page does not need to be changed, but you will need to change the "action" portion to point to the script that processes the form. You will need to contact your web host for technical details.