# Flash PHP Form Question

**URL:** <https://forum.kirupa.com/t/flash-php-form-question/172845>\
**Category:** flash\
**Created:** [December 18, 2005, 8:41pm UTC](https://forum.kirupa.com/t/flash-php-form-question/172845 "2005-12-18T20:41:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hombr3w311](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@hombr3w311](https://forum.kirupa.com/u/hombr3w311)\
**Post date:** [December 18, 2005, 8:41pm UTC](https://forum.kirupa.com/t/flash-php-form-question/172845/1 "2005-12-18T20:41:52Z")

</div>

Another Quick Question,  
I am using the tutorial from kirupa [size=4][color=#003366] **Flash** [font=Verdana]-Based[/font][/color][/size][size=2][font=Verdana][size=4][color=#003366] Email Form Using PHP. [size=2]After adding a few fields to the tut, I am wondering how to make the information that was inputed to go in the main message of the email. Please Advise, thanks.[/size][/color][/size][/font][/size]

[color=#003366]PHP Code[/color]  
\<?php  
$sendTo = “[andrew@epicpc.com](mailto:andrew@epicpc.com)”;  
$subject = “My Flash site reply”;

$headers = “From: " . $\_POST[“firstName”] .” “. $\_POST[“lastname”] . “\<” . $\_POST[“email”] .”\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-path: " . $\_POST[“email”];  
$headers .= “phone” . $\_POST[“phone”];  
$message = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>

New Flash Fields

Add1  
Add2  
City  
State  
Zip  
Phone

Would like thoes fields (likewise named in flash) to appear in email body. Thank you
