http://www.wncspacemakers.com/contac...ntactshane.php
1. I want to move the form to the middle of the CONTACT section.
2. After i click send. the code
Code:
<?php
$printingVar = 'Thank you for sending this message. I\'ll get to you soon.';
mail("shane@wncspacemakers.com",htmlentities($_POST['subject']), "Message from ". htmlentities($_POST['emailaddress']) ."\n". htmlentities($_POST['message']),'From: '. htmlentities($_POST['emailaddress']));
$email = "";
$subject = "";
$message = "";
}
?>
<p>
Does not work.
3. It wont send the e-mail
here is the code
Code:
<?php
$printingVar = 'Thank you for sending this message. I\'ll get to you soon.';
mail("shane@wncspacemakers.com",htmlentities($_POST['subject']), "Message from ". htmlentities($_POST['emailaddress']) ."\n". htmlentities($_POST['message']),'From: '. htmlentities($_POST['emailaddress']));
$email = "";
$subject = "";
$message = "";
}
?>
<p><br>
</p>
<form method="post" action="contact.php?page=contactshane.php">
<div align="center">
<table cellpadding="1" cellspacing="0" >
<tr>
<td style="height: 20px; width: 20%; color: #FF6600; font-size : 11px; font-family : Tahoma,Verdana,Arial; font-weight: bold;" >Your email: </td>
<td style="width: 20%;" ><input type="text" name="emailaddress" style="width: 200px;" /></td>
</tr>
<tr>
<td style="height: 20px; width: 20%; color: #FF6600; font-size : 11px; font-family : Tahoma,Verdana,Arial; font-weight: bold;" >Subject: </td>
<td style="width: 20%;" ><input type="text" name="subject" style="width: 200px;" /></td>
</tr>
<tr>
<td style="vertical-align: top; width: 20%; color: #FF6600; font-size : 11px; font-family : Tahoma,Verdana,Arial; font-weight: bold;" >Your message:</td>
<td style="width: 20%;" >
<textarea name="message" rows="10" cols="5" style="width: 200px;" >Type Your Message Here</textarea>
</td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="submitContact" value="Send Message" /></td>
<td> </td>
</tr>
</table>
</div>
</form>
<table border="0" cellpadding="5" cellspacing="0">