The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Yes, please post the PHP part of your script and also I can't read the form on the page! The grey is way too light to be able to comfortably read it and the form fields merge in with the white background!

Mike Swiffin - Community Team Advisor
Only a woman can read between the lines of a one word answer.....

Ok here is the solution that will work every time. Instead of using one page and sending post data to the same page use a page handler ! Just take out all of your post handling code and place it into a php file, call it mail_frm_handler. Process your post data on this page and then use the header function after you are through to go to the thank you page. Oh and you might try taking your url out of the variable and placing it directly in the function. I know there is supposed to be variable expansion because it is double quotes, but I am not sure that applies within a function.

Computers and Fire ...
In the hands of the inexperienced or uneducated,
the results can be disastrous.
While the professional can tame, master even conquer.