29.07.2013, 00:18
You're doing this:
Swap the code around.
You're also checking their password if they don't have an account (if 'rows' is 0) - shouldn't you be asking them to register or something?
pawn Code:
if(password is right)
{
tell them it's wrong
}
else
{
tell them it's right
}
You're also checking their password if they don't have an account (if 'rows' is 0) - shouldn't you be asking them to register or something?