<?php if (isset($_REQUEST['email'])) { //Email information $admin_email = "tripti.shaddhainfonewdelhi@gmail.com"; $name = $_REQUEST['name']; $email = $_REQUEST['email']; $address = $_REQUEST['address']; $phone = $_REQUEST['phone']; $city = $_REQUEST['city']; $date = $_REQUEST['date']; //send email mail($admin_email, "$name", "$address", "$phone","From:" . $email); //Email response echo "Thank you for contacting us!"; } //if "email" variable is not filled out, display the form else { ?> <?php } ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)