# PLEASE HELP problems with flash form and php

**URL:** https://forum.kirupa.com/t/please-help-problems-with-flash-form-and-php/235830
**Category:** flash
**Created:** [August 15, 2007, 2:12am UTC](https://forum.kirupa.com/t/please-help-problems-with-flash-form-and-php/235830 "2007-08-15T02:12:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rsljr05](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rsljr05](https://forum.kirupa.com/u/rsljr05)
#### Post date: [August 15, 2007, 2:12am UTC](https://forum.kirupa.com/t/please-help-problems-with-flash-form-and-php/235830/1 "2007-08-15T02:12:22Z")

</div>

i am trying to make a contact form using flash 8, the problem i am having is that when ever i submit button it send the email and i am able to receive it’s the results that im trying to get fixed.

this is the product from the form.

Name: \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE="\_sans"  
SIZE=“12” COLOR="#000000" LETTERSPACING=“0”  
KERNING=“0”\>[COLOR=RoyalBlue]adfadf[/COLOR]\</FONT\>\</P\>\</TEXTFORMAT\>

Contact Phone:  
Address:  
City: \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE="\_sans"  
SIZE=“12” COLOR="#000000" LETTERSPACING=“0”  
KERNING=“0”\>[COLOR=RoyalBlue]dasfd[/COLOR]\</FONT\>\</P\>\</TEXTFORMAT\>  
Zip:

Message:  
the highlighted characters are the characters that were inputed in the form, here is my php code. can any one help me resolve this issue.

\<?php

$to = "test@test.com";  
$subject = “test”;  
$msg = "test

";  
$mailheaders = "Sent from my website  
";

$name = $\_POST[“txt\_Name”];  
$contact = $\_POST[“txt\_Contact”];  
$address = $\_POST[“txt\_Address”];  
$city = $\_POST[“txt\_City”];  
$zip = $\_POST[“txt\_Zip”];  
$message = $\_POST[“txt\_Message”];

$msg .= "Name: $name  
";  
$msg .= "Contact Phone: $contact  
";  
$msg .= "Address: $address  
";  
$msg .= "City: $city  
";  
$msg .= "Zip: $zip

";  
$msg .= "Message: $message

";

mail($to, $subject, $msg,$mailheaders);

?\>

any help resolving this problem would be greatly appreciated.
