I have a registration form on my website. When I click the submit button I only get one line in my email. I need to have many lines of information. I am new to php. I have tried several different ways to do this to no avail. Help. Here is the php code: I only get the “comments” returned in the email. Thanks
// Configuration option.
// You can change this if you feel that you need to.
// Developers, you may wish to add more fields to the form, in which case you must be sure to add them here.
$e_body = “You have been contacted by $name with regards to The Friends for Research Golf Outing, their information is as follows.” . PHP_EOL . PHP_EOL;
$e_content = “Name: $name” . PHP_EOL . PHP_EOL;
$e_content = “Address: $address” . PHP_EOL . PHP_EOL;
$e_content = “City/State/Zip: $city” . PHP_EOL . PHP_EOL;
$e_content = “Phone: $phone” . PHP_EOL . PHP_EOL;
$e_content = “Email: $email” . PHP_EOL . PHP_EOL;
$e_content = “Foursome: $foursome” . PHP_EOL . PHP_EOL;
$e_content = “Individual Golfer: $individualGolfer” . PHP_EOL . PHP_EOL;
$e_content = “Dinner Only: $dinnerOnly” . PHP_EOL . PHP_EOL;
$e_content = “Dinner Qty: $dinner” . PHP_EOL . PHP_EOL;
$e_content = “Attendee #1: $attendee1″ . PHP_EOL . PHP_EOL;
$e_content = “Attendee #2: $attendee1″ . PHP_EOL . PHP_EOL;
$e_content = “Attendee #3: $attendee1″ . PHP_EOL . PHP_EOL;
$e_content = “Attendee #4: $attendee1″ . PHP_EOL . PHP_EOL;
$e_content = “Sponsorship Package: $sponsorship” . PHP_EOL . PHP_EOL;
$e_content = “Donation?: $donate” . PHP_EOL . PHP_EOL;
$e_content = “Donation Amount: $donationAmt” . PHP_EOL . PHP_EOL;
$e_content = “Credit Card Name: $creditcardname” . PHP_EOL . PHP_EOL;
$e_content = “Credit Card Number: $creditcardnnumber” . PHP_EOL . PHP_EOL;
$e_content = “Month Expires: $CCExpiresMonth” . PHP_EOL . PHP_EOL;
$e_content = “Year Expires: $CCExpiresYear” . PHP_EOL . PHP_EOL;
$e_content = “Check to follow: $check” . PHP_EOL . PHP_EOL;
$e_content = “Comments: $comments” . PHP_EOL . PHP_EOL;
$e_reply = “You can contact $name via email, $email or via phone $phone”;