Newbie :/
Posted: Thu Sep 29, 2011 9:44 am
hey lads just starting with php and have a feeling I will need some help along the way and hopefully some of u sound peeps can help 
I have just created a form but it doesn't work
the code below is what I used..any ideas what I am doing wrong?
I have just created a form but it doesn't work
Code: Select all
<?
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail("robert.doran@marketingnetwork.ie", $subject,
$message, $email, $name, 'From: name' );
header( "Location: http://www.mntest.net/repak/thankyou.html" );
?>