Help, having problems with forms and AS

Hello KIRUPA people:

hey, i have a problem using AS to send some variables to a PHP form.

when i click on my button the entire movie unloads from the stage. let’s take a look to the AS of the button:

on (release)
{
if (name == “” || subject == “” || message == “” || email == “”)
{
stop();
}
else
{
getURL(“form.php”, “_level0”, “POST”);
} // end if
}

---------------------- and the PHP form is :

<?

$to = "blabla@blablabla.com";
$msg = "$name

";
$msg .= "$message

";

mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");

?>

---------------------------------------------- what am i doing wrong?

if you can help me, i would be very thankful

you have to use loadVariablesNum()

the second post in this thread:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604