I'm having problems with my contact form php in dreamweaver can anyone help me?

Sadior LLC

New member
<?php

/* Email Variables */

$emailSubject = 'contactformprocess2!';
$webMaster = '[email protected]';


/* Data Variables */

$name = $_POST['name'];
$email = $_POST['email'];
$contact number = $_POST['number'];
$service wanted = check_input($_POST['service']);
$discription = $_POST['discription'];



$body = <<<EOD
<br><hr><br>
Name: $name <br>
Email: $email <br>
contact number: $number <br>
service wanted: $service <br>
discription: $discription <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body,
$headers);


/* Results rendered as HTML */
$theResults = <<<EOD
<html>
<head>
<title>sent message</title>
<meta http-equiv="refresh" content="3;URL=http://www.sadiorllc.com/infopage2.html">
<style type="text/css">
<!--
body {
background-color: #444;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #fec001;
text-decoration: none;
padding-top: 200px;
margin-left: 150px;
width: 800px;
}
-->
</style>
</head>
<div align="center">Your email will be answered soon as possible!
You will return to web site in a few seconds !</div>
</div>
</body>
</html>
EOD;
echo "$theResults";
?>
 
Back
Top