Hi guys, got another endless problem. I basically followd this tutorial to the T:

http://www.flashkit.com/tutorials/Dy...1397/index.php

The problem I am having is that for some strange reason when a user enters there username and password and press register nothing happens. It seems that the username and password is not being sent to my database table. When I attempt to Login with a random username ad password to see if it dose attempt to read my PHP file the staus on my display window just keeps saying attempting login.....(obviously the data does not exist so it remains like that). I'v got a feeling theire is somthing wrong with the register PHP script, and another thing in the tutorial I was not told to entre my table name,could that be the prob?


Register PHP

<?php mysql_connect("localhost","root","") or die();
mysql_select_db("userLogin") or die();
$usercheck = $_POST['username'];
$check = mysql_query("SELECT username FROM users WHERE username = '$usercheck'")
or die();
$check2 = mysql_num_rows($check);
if ($check2 != 0) {
print "words=Username already exists.&checklog=1";
die();
}
$insert = "INSERT INTO users (username, password)
VALUES ('".$_POST['username']."', '".$_POST['pass']."')";
$add_member = mysql_query($insert);
print "words=You are registered.&checklog=2";
die();
?>


Register action script:

on (release) {
if(username.length >= 6 && pass.length >= 6){
loadVariablesNum("register.php", 0, "POST");
}else{
_root.words = "Username must have between 6 and 12 characters.";
}
}