Login Problems
#5

Perform a SELECT query with the user credentials:

pawn Код:
format(string,sizeof(string),"SELECT NULL FROM Users WHERE Name = '%s' AND Password = '%s'",escname, escpass);
    mysql_query(string);

    if(!mysql_num_rows()) return SendClientMessage(playerid, COLOR_RED, "[ACCOUNT] Incorrect password!");
You should be using threaded queries.
Reply


Messages In This Thread
Login Problems - by Anthonyx3' - 09.01.2011, 03:12
Re: Login Problems - by California - 09.01.2011, 05:04
Re: Login Problems - by Anthonyx3' - 09.01.2011, 05:16
Re: Login Problems - by California - 09.01.2011, 06:24
Re: Login Problems - by Calgon - 09.01.2011, 07:11

Forum Jump:


Users browsing this thread: 4 Guest(s)