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.