String Compare
#2

You're doing this:

pawn Code:
if(password is right)
{
    tell them it's wrong
}
else
{
    tell them it'
s right
}
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?
Reply


Messages In This Thread
String Compare - by Riddy - 28.07.2013, 23:34
Re: String Compare - by MP2 - 29.07.2013, 00:18
Re: String Compare - by Riddy - 29.07.2013, 00:21
Re: String Compare - by jamesbond007 - 29.07.2013, 00:30
Re: String Compare - by MP2 - 29.07.2013, 00:40
Re: String Compare - by Riddy - 29.07.2013, 00:41
Re: String Compare - by jamesbond007 - 29.07.2013, 00:41
Re: String Compare - by MP2 - 29.07.2013, 00:45

Forum Jump:


Users browsing this thread: 1 Guest(s)