Line Breaks PHP Form
Hi All,
Admittedly, I know nothing about PHP. Trying to get a simple contact form to work has been a frustrating process.
Below is the PHP that I am using. When the contact form is received, all the info is on one line, strung together without line breaks. I'm wondering how to add breaks to the submitted email.
Your help is greatly appreciated. Thank you.
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$phone = $_REQUEST['phone'] ;
$message = $_REQUEST['message'] ;
mail( "name@anysite.com", "Feedback Form Results",
$name.=$phone.$message ; "From: $email" );
header( "Location: http://www.anysite.com/thankyou.html" ) ;
?>
