# Php form: receiving 2 emails on 1 form

**URL:** <https://forum.kirupa.com/t/php-form-receiving-2-emails-on-1-form/316125>\
**Category:** Uncategorized\
**Created:** [November 13, 2010, 9:42am UTC](https://forum.kirupa.com/t/php-form-receiving-2-emails-on-1-form/316125 "2010-11-13T09:42:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oneapple](https://avatars.discourse-cdn.com/v4/letter/o/a9a28c/32.png) [@oneapple](https://forum.kirupa.com/u/oneapple)\
**Post date:** [November 13, 2010, 9:42am UTC](https://forum.kirupa.com/t/php-form-receiving-2-emails-on-1-form/316125/1 "2010-11-13T09:42:50Z")

</div>

Hi, I’m new here… I’ve followed the instruction of creating the mail form based on this: [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

And everything works fine! I could received email but the current form i’m doing have 2 email fields. One is the “Email” another is “Parent Email”, right now i’m only receiving email address from the first field. How is it possible for me to receive emails from this 2 fields?

Here’s my script (php):

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