Hello,
When I am trying to send my form to my e-mail, when it sends it doesn't submit the results.
IE.
name =
E-Mail =
Here is my source
My E-mail is changed.:
<?PHP
Include ("top.php");
if ($submit) {
while(list($key,$val) = each ($HTTP_POST_VARS)) {
$body .= $key ." = ". $var ."\n";
}
echo("$var");
mail("myemail", "form submission", $body);
}
?>
<img src="contact.jpg" width="150" height="35" border="0" alt=""><P><P>
<table>
<tr>
<td width="300" bgcolor=#CCCC99>
<font face="Arial,Helvetica,sans-serif" size="2" color="Black">
You can e-mail me, the webmaster, at the address below or fill out the form.</a>
</font>
</td>
</tr>
</table>
<form action="<?php echo($PHP_SELF); ?>" METHOD=POST>
<table width="300" cellspacing="5" cellpadding="5">
<tr>
<td valign="top">
<font face="Arial,Helvetica,sans-serif" size="2">
Name
</font>
</td>
<td><input type="text" name="name" size="30"><p></td>
</tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica,sans-serif" size="2">
</font>
</td>
<td><input type="text" name="e-mail" size="30"></td>
</tr>
<tr>
<td>
<font face="Arial,Helvetica,sans-serif" size="2">
Comments
</font>
</td>
<td><textarea cols="30" rows="8" name="comments">
</textarea></td>
</tr>
</table>
<INPUT TYPE=SUBMIT NAME="submit" VALUE="submit">
</form>
<?PHP
Include ("bottom.php");
?>
Thanks for any help.





Bookmarks