Hey.... again....

I have the following email submission form on my site:

Quote Originally Posted by index.html
<form action="add_email.php" method="post" name="email_form" target="_self" id="email_form">
<input name="email" type="text" id="email_box"/><a href="javascript: submitform()">SUBSCRIBE</a></form>
and the following php in the same directory:

Quote Originally Posted by add_email.php
<?php
if($_POST['email'] != ""){
$email = $_POST['email'];
$to = "[email protected]";
$from = "dadamash.com";
$subject = "New Subscriber - (".$email.")";
$details = "There has been a new subscriber to your mailing list:\n\n- ".$email;

if(mail($to,$subject,$details,"From: ".$from)){
header("Location: ok.html");
} else {
header("Location: error.html");
}
} else {
header("Location: contact.html");
}
?>
But for some reason nothing happens when I click the subscribe button. Is there something wrong with my code? Been over it a thousand times with tired eyes but cannot see anything wrong. It is more than likely something really simple!

Any help?

Thanks,
Adam.