Hi, I have this code that sends an email, but the tabs don't work. The text it creates is not spacing correctly.
What gives?
Any hints/short cuts/comments on my code would also be appreciated...I'm knew to php.
--I hope when you view the code it looks better than when I posted it 🙂 --
$tab = "\t";
$rtn = "\n";
$contact_information = "First Name: " . $tab . $first_name . $rtn;
$contact_information .= "Last Name: " . $tab . $last_name . $rtn;
$contact_information .= "Company Name: " . $tab . $company_name . $rtn;
$contact_information .= "Phone Number: " . $tab . $phone_number . $rtn;
$contact_information .= "Email Address: " . $tab . $email_address . $rtn $rtn;
$contact_information .= "Message: " . $tab . $message . $rtn;
$mesg = $contact_information;