Flash to MySQL using PHP failing?

HI guys

I seem to have a little issue this flash calling PHP files.

I simply want to have an input box in my flash file send a new email address to a subscription page.

The php page works if called independently. But it fails to work from flash?
I am not even trying to use input boxes now just get it to call the ■■■■ thing!

flash button is


on (release) {
 form.loadVariables("email.php", "POST");
}
 

email .php –


$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  
  }
  mysql_select_db("techbe_email", $con);
  
  mysql_query("insert into email_list_subscribers (listid,emailaddress,format)VALUES ('4','test10@php.com','h')");

mysql_close($con);
 

thanks for any help!?