After reset DB regpage don't work

Joined
Sep 7, 2008
Messages
972
Reaction score
81
Hello, I have reset DB because of some errors. I have reinstall it. But i have made an account in DB but i can't edit aid to 1 it's says 2. If i try to register i get an error. Maybe it's another problem but i think it's the aid.
 
Last edited:
It's not a mssql error. I get this message "Something was going wrong, please take contact with the Staff." (i use eele's one)

PHP:
$query4 = odbc_exec($connect, "SELECT AID FROM $accounttable WHERE UserID = '" . antisql($_POST['username']) . "'");
odbc_fetch_row($query4);
$aid = odbc_result($query4, 1);

if (!$aid)
{
gtfo("$error");
}

odbc_exec($connect, "INSERT INTO $logintable (UserID, AID, Password) VALUES ('".antisql($_POST['username'])."', '$aid', '".antisql($_POST['password'])."')");

I think there is the fault.

The ajax register script is working. If it not will work i maybe use that.
 
Upvote 0
Back