[font=Arial]I’m using an email form in flash to php. Everything is working except one thing. When the message is received all the fields are in one line with no spaces. I would like them to be on separate lines. I believe this can be done using “
\r” but I’m having no luck. I’ve searched the boards but can’t find a fix.[/font]
[font=Arial]Much thanks[/font]
[font=Arial]Scotti[/font]
[font=Arial]
[/font][font=Arial]<?php
$sendTo = "[email="scotti@scottihill.com"]scotti@scottihill.com[/email]";
$subject = "Marconi Photography Website";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"];
$name = $_POST["name"]."
";
$email = $_POST["email"]."
";
$phone = $_POST["phone"]."
";
$date = $_POST["date"]."
";
$how1 = $_POST["how1"]."
";
$how2 = $_POST["how2"]."
";
$message = $_POST["message"];
mail($sendTo. $subject. $headers. $name. $email. $phone. $date. $how1. $how2. $message);
?>
[/font]