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!