I have the following code:
$txt = "Name: \n" . $_POST["name"] .
"\r\n Company: " . $_POST["company"] .
"\r\nEmail: " . $_POST["email"] .
"\r\nPhone: " . $_POST["phone"] .
"\r\nCategory: " . $_POST["category"] .
"\r\nDescription: " . $_POST["desc"];
echo $txt;
and the output is:
Name: Bob Company: Bob\'s company Email: bob@bob.com Phone: 1231231234 Category: Automation Description: This isn\'t working
With no new lines. Could someone please point out what I am doing incorrectly?
`.. – Rizier123 Jul 24 '15 at 15:41