Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 12-07-2009, 11:31 PM   #1
New Member
 
Join Date: Apr 2007
Posts: 5
Default php form problem

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 Code:
<?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"example@example.com""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
VanHype is offline   Reply With Quote


Old 12-08-2009, 11:13 PM   #2
Gold Member
 
Join Date: Oct 2008
Location: Yonkers, NY
Posts: 495
Default

I'm very tired but if I'm not mistaken, $message is an undeclared value.
LouTheDesigner is offline   Reply With Quote
Reply

Tags
email, form, php, send, submit

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:01 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.