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