Hi guys,
I have a simple 3 input html form and I found a tutorial that I understand that in theory should send the data from the form to the email address supplied. It doesnt seem to do anything thought if anyone could point me in the direction of either a better tutorial, a thread where this kind of thing is discussed (I had no luck when I searched) or even spot any problems in the code your help would be appreciated.
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$comments = $_REQUEST['comments'] ;
mail( "insert email here", "Query Form Results",
$comments, "From: $name", "Email: $email" );
header( "Location: insert url here" );
?>
Thanks in advance
Mytutorisfat