Incorrect verification code.
'; } else { // add form data processing code here // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail of sender $mail_from="$customer_mail"; // From $header="from: $name <$mail_from>"; // Enter your email address $to ='mark@markhiley.co.uk'; $send_contact=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ header( 'Location: http://www.markhiley.co.uk/messagesent.php' ); } else { echo "ERROR"; } }; ?>