Im making a mailing form (YEA I KNOW EASY) but im having problems.
$msgSubject = "Site Submission (Hosting1)";
$msgBody = "$name, $company, $address, $email, $phone, $domain";
$xHeaders = "From: $email X-Mailer: PHP/" . phpversion();
mail ($mailTo, $msgSubject, $msgBody, $xHeaders);
Well in the message body part, when i get the email its all together like;
johndoe, company2, 911police street, bob@aol.com. 555-4222
i want to make them on seperate lines like
john doe
company1
911 Police.. and so on
i try to add <br> tag after each variable $name, <br> and even the print tag $name, print("<br>") and print(\"<br>\"); but all i get is that in my email as well. How can i change that and make it work. another thing
$xHeaders = "From: $email X-Mailer: PHP/" . phpversion();
what does that doo? do i really need
X-Mailer: PHP/" .phpversion(); ????
thank you