php form problem

VanHype

New Member
Hi Guys,

i have a html form which sumbits data to a file.. submit_mail.php

recently the email im receiving from the php file has been blank? nothing except telling me a subject and who the email is from

the code in the php file is:


PHP:
<?php

$type = $_REQUEST["type"];
$fname = $_REQUEST["fname"];
$lname = $_REQUEST["lname"];
$address = $_REQUEST["address"];
$phone = $_REQUEST["phone"];
$bmail = $_REQUEST["bmail"];
$adults = $_REQUEST["adults"];
$under18 = $_REQUEST["under18"];
$query = $_REQUEST["query"];
$date = $_REQUEST["date"];
$month = $_REQUEST["month"];
$year = $_REQUEST["year"];
$duration = $_REQUEST["duration"];

  mail( "[email protected]", "General Enquiry",
    $message, "From: $bmail" );
  header( "Location: http://www.domainexample.co.uk/thankyou.html" );
?>

any ideas as to why i am receiving blank emails?

im sure i have had emails previously with this code but could be wrong??

thanks for looking
 
Top