I need to pass forms and when the user hits submit, I need it to e-mail me with the e-mail. I was reading about the mail function and I'm screwin somthin up. Any help would be cool.
<head>
<title>Blah</title>
</head>
<body>
<form method="Post">
Name:
<input type="text" size="10" name="name">
<br>
Homepage:
<input type="text" size="15" name="url">
<br>
Email:
<input type="text" size="15" name="email">
<br>
<input type="button" value="Submit">
<?php
if(Submit == $Submit)
{
$to = blah@blah.com;
$subject = Portal Submission;
$message = $name, $homepage,$email
mail($to, $subject, $message);
}
?>
</form>
</body>