# Forms

**URL:** <https://forum.kirupa.com/t/forms/72563>\
**Category:** Uncategorized\
**Created:** [December 7, 2004, 4:18am UTC](https://forum.kirupa.com/t/forms/72563 "2004-12-07T04:18:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inzane](https://avatars.discourse-cdn.com/v4/letter/i/b38774/32.png) [@inzane](https://forum.kirupa.com/u/inzane)\
**Post date:** [December 7, 2004, 4:18am UTC](https://forum.kirupa.com/t/forms/72563/1 "2004-12-07T04:18:34Z")

</div>

Hi all.

I have been playing around with flash email forms, and they are working great, the only problem I have is that I want to add a new field to the form called “Location” I have given the input field in flash the variable “loc”

here is the php script;

\<?

$to = “[myemailwillgohere@hotmail.com](mailto:myemailwillgohere@hotmail.com)”;  
$msg = "$name

";  
$msg .= "$message

";  
mail($to, $subject, $msg, "Email from form  
Reply-To: $email  
");  
?\>

where and how do I add this fild in the php script?
