So, without further ado, here's my coding thus far. I'll be the first to admit that I'm a complete noob when it comes to PHP, but this project just kind of fell on my lap all of a sudden, so I'd had to learn real fast.
$Customer = Trim(stripslashes($_POST['Customer'])); $Description = Trim(stripslashes($_POST['Description'])); $Contact = Trim(stripslashes($_POST['Contact'])); $CPhone = Trim(stripslashes($_POST['CPhone'])); $Address = Trim(stripslashes($_POST['Address']))
That's the easy part. Just recalling the variables from the form that was on another page.
<?php echo "$Customer"?><br> <?php echo "$Address"?><br> <?php echo "$Contact"?> - <?php echo "$CPhone"?>
And there's the other part. I've got another echo statement below for the description, however it's formatted the same way. The Address part is where I'm having trouble creating the user-entered line breaks. So I'm wondering what I need to add to this to make it work.
The thing that really confuses me is that I also have a contact form that submits an email on another part of the website, and when I enter line breaks into THAT, they show up perfectly fine in the email. However, 99% chance that the change of formats is key there. I'd appreciate any help I can get, and thanks in advance!