Hi all,
Just wondering if someone could help me with the following:
I have a submit details form, which has a SUBMIT button. Now I have coded in the following actionscript for the above:
And subsequently I have coded the following PHP file associated with the SUBMIT button:Code:on(release) { if (your name eq "" or your email eq "" or message eq "") { stop(); } else { loadVariablesNum("form.php", 0, "POST"); gotoAndStop(2); } }
PHP Code:<?
$destination="user@me.com";
$name=$_POST['name'];
$email=$_POST['email'];
$mes=$_POST['comments'];
$subject="Message from $name" ;
$mes="Name : $name\n
Email: $email\n
Comments: $mes\n";
mail($destination,$subject,$mes); ?>
Now the above doesn't appear to work, therefore I was wondering if anyone could advise me on where I'm going wrong and what I need to do!
Many thanks
Oliver


Reply With Quote
Bookmarks