# Flash 8 Form is making me mad

**URL:** <https://forum.kirupa.com/t/flash-8-form-is-making-me-mad/216476>\
**Category:** flash\
**Created:** [February 16, 2007, 9:35pm UTC](https://forum.kirupa.com/t/flash-8-form-is-making-me-mad/216476 "2007-02-16T21:35:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marriedman624](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@marriedman624](https://forum.kirupa.com/u/marriedman624)\
**Post date:** [February 16, 2007, 9:35pm UTC](https://forum.kirupa.com/t/flash-8-form-is-making-me-mad/216476/1 "2007-02-16T21:35:56Z")

</div>

Ⓜ I am new to website design and I have run into a problem. I am trying to create a contact form in Flash 8. I have tried a bunch of online tutorials and I can’t get it figured out. I created all the text fields and gave them var names (in the properties panel, is that correct?) and have created a submit btn. The actionscript on the submit button is :

on (release) {  
loadVariablesNum (“[http://www.XXXXXXXXX.com/official/form1.php](http://www.XXXXXXXXX.com/official/form1.php)”, 0, “GET”);  
gotoAndPlay (16);  
}

The components of the form are all on the same layer. Do I need to make the input boxes into a movieclip?

The PHP script I have looks like:

\<?php  
$to .= “XXXX[@yahoo.com](mailto:XXXX@yahoo.com)”;  
$subject = “Website Contact”;  
$msg .= "$name  
";  
$msg .= "phone  
";  
$msg .= "$email  
";  
$msg .= "$hear\_about  
";  
$msg .= "comments  
";  
$headers .= "From: $name \<$email\>  
";  
mail($to, $subject, $msg, $headers);  
?\>

— on a side note, do PHP scripts have the tags (\<body\>, \<head\>, etc.) like html? and if so, does the script code go in the \<body\>?

When i test the form, an e-mail is sent but the email looks like this:

From: /TEXTFORMAT@linhost258.prod.mesa1.secureserver.net

Body of e-mail:  
[SIZE=2]\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Times New Roman” SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>Mark\</FONT\>\</P\>\</TEXTFORMAT\>[/SIZE]

[SIZE=2]\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Times New Roman” SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>phone\</FONT\>\</P\>\</TEXTFORMAT\>[/SIZE]

[SIZE=2]\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Times New Roman” SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>email\</FONT\>\</P\>\</TEXTFORMAT\>[/SIZE]

[SIZE=2]\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Times New Roman” SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>hear\</FONT\>\</P\>\</TEXTFORMAT\>[/SIZE]

[SIZE=2]comments[/SIZE]

[SIZE=2]And one last question, whenever I pull up the form on the internet, the input text boxes all have \_level0.name (or whatever the var is of that text box)?[/SIZE]

[SIZE=2]Thanks in advance for the help.[/SIZE]
