Quote:
Originally Posted by
stealarcher
ahh, well, not sure how the hadeset source is setup, but under the register file, ur going to want to change your
$check = mysql_query("SELECT * FROM accounts WHERE AccountID = '$user'");
to what ever the hadeset source uses, so if the accounts were stored in acct and UserID, ud type it like this
$check = mysql_query("SELECT * FROM acct WHERE UserID = '$user'");
then change the
$insert_member = mysql_query("INSERT INTO accounts (AccountID, Password, Type) VALUES ('$user', '$pass', '2')");
to something like
$insert_member = mysql_query("INSERT INTO acct (UserID, Password, Type) VALUES ('$user', '$pass', '2')");
I sent you more oque It did not work
look at the result:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Website\register.php on line 59
Total Accounts:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Website\register.php on line 67
Total Characters:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Website\register.php on line 85
Registration Failed!