# Flash and PHP email form, need help

**URL:** <https://forum.kirupa.com/t/flash-and-php-email-form-need-help/198849>\
**Category:** Uncategorized\
**Created:** [August 29, 2006, 3:38am UTC](https://forum.kirupa.com/t/flash-and-php-email-form-need-help/198849 "2006-08-29T03:38:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![withhisstripes](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@withhisstripes](https://forum.kirupa.com/u/withhisstripes)\
**Post date:** [August 29, 2006, 3:38am UTC](https://forum.kirupa.com/t/flash-and-php-email-form-need-help/198849/1 "2006-08-29T03:38:10Z")

</div>

Heya,  
I have a flash form that uses PHP to send the data to an email, but it causes all of the data to display on the same line with no spaces when recieved via email, can anyone help? Thanks!

Code:

\<?php  
$sendTo = "email@email.com";  
$subject = “Contact Form from Cabinet Source Website”;  
$headers = “From: " . $\_POST[“name”] .” “. $\_POST[“phone”] . “\<” . $\_POST[“comments”] .”\>  
";  
$headers .= "Reply-To: " . $\_POST[“name”] . "  
";  
$headers .= "Return-path: " . $\_POST[“name”];  
$message = $\_POST[“comments”];  
mail($sendTo, $subject, $message, $headers);  
?\>
