if (isset($_REQUEST['sendform'])) { $URL="thankyou.htm";header ("Location: $URL"); // Email user $site_email = "sales@poolsafefencing.com.au"; $email = "sales@poolsafefencing.com.au"; $subject = "Contact Us"; $message = ' Name: '.$_POST['name'].' Contact Phone #: '.$_POST['contact'].' Email Address: '.$_POST['email'].' Address: '.$_POST['address'].' Preferred Method of Contact: '.$_POST['method'].' I am interested in: '.$_POST['dropdown'].' Best time to contact me: '.$_POST['bestcontact'].' Comments: '.$_POST['comments']."\r\n"; mail($email, $subject, $message, "From: $site_email"); ?> die; } ?>
![]() |
|
|
|
![]() |
|