I have form with text boxes and radio buttons that upon submission is to email the results to a specified person. Right now the email is being sent but only two things are coming through. I need them to start a new line for each one also. Any help would be greatly appreciated.
Code from sendmail.php:
<?php
$dname = $_REQUEST['dname'] ;
$cname = $_REQUEST['cname'] ;
$phone = $_REQUEST['phone'] ;
$address = $_REQUEST['address'] ;
$email = $_REQUEST['email'] ;
$cs = $_REQUEST['cs'] ;
$fax = $_REQUEST['fax'] ;
$zip = $_REQUEST['zip'] ;
$bf = $_REQUEST['bf'] ;
$bl = $_REQUEST['bl'] ;
$cbf = $_REQUEST['cbf'] ;
$cbl = $_REQUEST['cbl'] ;
$report = $_REQUEST['report'] ;
$purpose = $_REQUEST['purpose'] ;
$ltv = $_REQUEST['ltv'] ;
$paddy = $_REQUEST['paddy'] ;
$pcs = $_REQUEST['pcs'] ;
$pzip = $_REQUEST['pzip'] ;
$ld = $_REQUEST['ld'] ;
$type = $_REQUEST['type'] ;
$access = $_REQUEST['access'] ;
$tele = $_REQUEST['tele'] ;
$list = $_REQUEST['list'] ;
$sell = $_REQUEST['sell'] ;
$needby = $_REQUEST['needby'] ;
$comments = $_REQUEST['comments'] ;
if (!isset($_REQUEST['email'])) {
header( "Location: http://www.allenappraisaldsm.com/appraisalorder.html" );
}
else {
mail( "jglover@pineridgefarmspork.com", "Appraisal Order",
"Appraisal Order
Name/Company:$dname
Company Name:$cname
Phone:$phone
Address:$address
Email Address:$email
City,State:$cs
Fax:$fax
Zip Code:$zip
Borrower First:$bf
Borrower Last:$bl
Co-Borrower First:$cbf
Co-Borrower Last:$cbl
Report Type:$report
Loan Purpose:$purpose
LTV:$ltv
Street Address:$paddy
City,State:$pcs
Zip Code:$pzip
Legal Description:$ld
Property Type:$type
Contact for Access:$access
Contact's Telephone:$tele
Listing Agent and Phone#:$list
Selling Agent and Phone#:$sell
Date Needed By:$needby
Comments:$comments
");
header( "Location: http://www.allenappraisaldsm.com/send.html" );
}
?>
Send Mail Help
Moderator: General Moderators