Flash php email - small bugaboo

Hey! Just (finally) worked my way through Senocular’s excellent tutorial and have managed to generate an email that returns the input text made in Flash.

http://www.kirupa.com/developer/actionscript/flash_php_email.htm

the only problem is the resulting email strings the returned variables together in one long line - this is sure to confuse my client.

Is there an easy way to add “line breaks” inbetween the returned variables?

Here’s a c&p of the code I am using…

<?php
$sendTo = "me@myemailaddress.com";
$subject = “Appointment Request”;

$headers = "From: " . $_POST[“name”];
$headers .= “<” . $_POST[“email”] . ">
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-Path: " . $_POST[“email”];

$message = $_POST[“name”];
$message .= $_POST[“email”];
$message .= $_POST[“phone”];
$message .= $_POST[“date”];
$message .= $_POST[“comments”];

mail($sendTo, $subject, $message, $headers);
?>

What I’m after an email message that looks like this:

Joe Blow
joeb@invalid.com
555-1212
Feb 14
Hey! Cool form.

instead of this:

Joe Blowjoeb@invalid.com555-1212Feb 14Hey! Cool form.

thanks to Senocular for such a cool tutorial - was very happy to find it.

cheers
©