header problem
| From: | SCOTT dot NOVINGER at airborne dot com | Date: | Sat, 11 May 2002 01:35:00 +0000 |
| Subject: | header problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96954@lists.php.net to get a copy of this message | ||
why does the name variable ($name) not display in the email body, but displays
just perfectly in the form result?
i can see everything from "Employee ID:" down in the email body, and
everything is seen in the form result.
have i made some error?
$bid_information = "Name: ".$name."\n"
."Employee ID: ".$employee_id."\n"
."Month: ".$month."\n"
."Aircraft: ".$aircraft."\n"
."Position: ".$position."\n"
."Bid Position: ".$bid_position."\n"
."Revision: ".$revision."\n\n"
."Choice 1: ".$line1."\n"
."Choice 2: ".$line2."\n"
."Choice 3: ".$line3."\n"
."Choice 4: ".$line4."\n";
$fromaddress = "webmaster@foo.com";
mail($toaddress, $subject, $fromaddress, $bid_information);