# FLASH/PHP Form Help

**URL:** https://forum.kirupa.com/t/flash-php-form-help/217204
**Category:** flash
**Created:** [February 24, 2007, 5:18am UTC](https://forum.kirupa.com/t/flash-php-form-help/217204 "2007-02-24T05:18:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![steresa](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@steresa](https://forum.kirupa.com/u/steresa)
#### Post date: [February 24, 2007, 5:18am UTC](https://forum.kirupa.com/t/flash-php-form-help/217204/1 "2007-02-24T05:18:55Z")

</div>

I am trying to get my flash form to process using some PHP code that I found here in a tutorial. Here is the code  
$subject = “My Flash site reply”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>  
This works fine and I receive information in my email.  
However, I tried to add more input fields in my flash form like “phone number” and “city”.  
I then tried to add to the PHP code like this  
$subject = “My Flash site reply”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
$phone = $\_POST[“phone”];  
$city = $\_POST[“city”];  
mail($sendTo, $subject, $phone, $city, $message, $headers);  
?\>

When I did this, the form did not send any more info to my email. Something is not right. I know its the PHP coding but I do not know how to fix it. Can some one help?
