/* Change this to where you want the script to go once it has emailed the details */ header("Location:http://www.stoneswoodretirement.co.uk/thanks.html"); } else { /* If you get here, something bad has happened ?? */ $msg = "<b>Error!!</b><br />\n";