# Flash Form \> PHP \>Email

**URL:** <https://forum.kirupa.com/t/flash-form-php-email/164594>\
**Category:** flash\
**Created:** [October 3, 2005, 9:27am UTC](https://forum.kirupa.com/t/flash-form-php-email/164594 "2005-10-03T09:27:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![forrestntrees](https://avatars.discourse-cdn.com/v4/letter/f/58f4c7/32.png) [@forrestntrees](https://forum.kirupa.com/u/forrestntrees)\
**Post date:** [October 3, 2005, 9:27am UTC](https://forum.kirupa.com/t/flash-form-php-email/164594/1 "2005-10-03T09:27:14Z")

</div>

I have created a form in Flash with seven fields in it that I have linked to a PHP file that generates an email that is sent to me. I have been able to get the header and send to work properly so I get the email, but I can only get a maximum of three of the desired six fields to show up in the body of the message. Here is my php code:

\<?php  
$sendTo = "my-email@mac.com";  
$subject = “Subject”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“name”] . "  
";  
$message .= $\_POST[“phone”] . "  
";  
$message .= $\_POST[“budget”] . "  
";  
$message .= $\_POST[“details”];  
mail($sendTo, $subject, $message, $headers);  
?\>

Any guidance for adding the contents of more fields to the message body would be greatly appreciated.
