ruạṛ
<?php if (isset($_POST['submit'])) { $to = "benwest@stoneworks.co.nz"; $subject = "Stoneworks Website Enquiry"; $message = sprintf("Hello, my name is %s\r\n My email address is %s\r\n My enquiry is: %s", $_POST['name'], $_POST['email'], $_POST['enquiry']); $from = "From: ".$_POST['name']." <".$_POST['email'].">"; mail($to, $subject, $message, $from); header("Location: http://www.stoneworks.co.nz/thanks.html"); } ?>
cải xoăn