| if(isset($_REQUEST["Name"])) { $to = "abdul_7862005@yahoo.com"; $subject = "Your Customer Feed Back"; $land = $_REQUEST['Land'] ; $diamond = $_REQUEST['Diamond'] ; $bath = $_REQUEST['Bath'] ; $bed = $_REQUEST['Bed'] ; $location = $_REQUEST['Location'] ; $price = $_REQUEST['Price'] ; $name = $_REQUEST['Name'] ; $email = $_REQUEST['Email'] ; $company = $_REQUEST['Company'] ; $phone = $_REQUEST['Phone'] ; $message = $_REQUEST['Message'] ; $headers = "From: $land,$diamond,$bath,$bed,$location,$price,$name,$email,$compnay,$phone,$message"; $sent = mail($to, $subject, $headers) ; echo "Thank you for submitting your inquiry, our Sales Office will get back to you within 2 working days."; } ?> | |||