Form Mail

“;

foreach($_POST as $key=>$val)

{

if($key==’image_x’ or $key==’image_y’ or $key==’image’ )

{

}

else

{

$message.= “

“.$key.” ” .$val.”

“;

}
}

//echo “your message”.$message;

$headers = ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;

$headers .= ‘From: continentalholiday‘ . “\r\n” .

‘Reply-To: ‘.$email. “\r\n” .

‘X-Mailer: PHP/’ . phpversion();

$subject=”Contact for continentalholiday”;

if(mail(“info@continentalholiday.com”, $subject, $message, $headers))
{

header(“location:index.php”);

}

}

?>

Call To Expert