Error on Debug.txt (MySQL) when player log in
#5

Quote:
Originally Posted by Mr_DjolE
Посмотреть сообщение
pawn Код:
format(Query,sizeof(Query),"SELECT * FROM `users` WHERE `Username` = '%s' AND `Password` = '%s' LIMIT 1;",PlayerName(playerid),password);
    mysql_query(Query);
    // store result now
    mysql_store_result();
Thanks

Quote:
Originally Posted by Adytza.
Посмотреть сообщение
Put this
pawn Код:
format(Query, sizeof(Query), "UPDATE `users` SET `IpAdress` ='%s' WHERE Username = '%s';",GetIP(playerid),PlayerName(playerid));
    mysql_query(Query);
After mysql_free_result();
Thanks

got it fixed it now. thanks verymuch!
Reply


Messages In This Thread
MySQL Login Problem - by Patrick - 14.03.2013, 20:02
Re: Error on Debug.txt (MySQL) when player log in - by Djole1337 - 14.03.2013, 20:47
Re: Error on Debug.txt (MySQL) when player log in - by InfiniTy. - 14.03.2013, 20:47
Re: Error on Debug.txt (MySQL) when player log in - by FUNExtreme - 14.03.2013, 20:48
Re: Error on Debug.txt (MySQL) when player log in - by Patrick - 14.03.2013, 20:57

Forum Jump:


Users browsing this thread: 2 Guest(s)