Make an Enquiry
if(isset($_REQUEST['submit']))
{
if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ) {
// Your email address
$email = "info@aristomind.com";
// The subject
$subject = "Feedbacks/Queries";
// The message
$message = "Name:".$_REQUEST['name']."\n\n";
$message = $message."Organization:".$_REQUEST['organization']."\n\n";
$message = $message."Address:".$_REQUEST['address']."\n\n";
$message = $message."Country:".$_REQUEST['country']."\n\n";
$message = $message."Phone:".$_REQUEST['phone']."\n\n";
$message = $message."Email:".$_REQUEST['email']."\n\n";
$message = $message."Services:".$_REQUEST['services']."\n\n";
$message = $message."Comments:".$_REQUEST['comments']."\n\n";
mail($email, $subject, $message, "From: ".$_REQUEST['email']);
echo "Your details has been sent. We'll get back to you soon";
}
else {
// Insert your code for showing an error message here
echo 'Sorry, you have provided an invalid security code';
}}
?>