Hi Forum
Im really hoping I can get some help here without being abused for my stupidness!!
Basically im trying to create a very very simple feedback form. I was successful, in that i recieved an email with the details, but when i tried to add a third contact field it just doesnt send it through?
Heres the code for the form:
<form method="post" action="sendmail.php">
<p><font face="Arial, Helvetica, sans-serif"><strong>Email: </strong><br>
<input name="email" type="text" />
<br>
<br/>
<strong>Name: </strong><br>
<input name="name" type="text" />
<br>
<br/>
<strong>Message:</strong><br/>
<textarea name="message" rows="15" cols="40"></textarea>
<br />
<input type="submit" />
</font></p>
</form>
And the PHP (website.com is replaced with the correct domain):
<?php
ini_set("sendmail_from","Our_Website@website.com");
$email=$REQUEST['email'];
$name=$REQUEST['name'];
$message=$_REQUEST['message'];
mail("james@website.com","Feedback Form Results",$message,$email,$name);
header("Location:http://www.website.com/em-done.html");?>
Has anyone got any thoughts?
Thanks lots