Mysql noob and confusing question...
#1

Well since im making new server (from scratch)i think to much about optimizing register/login system
Well i want to make good register/login base that will be easy to edit+it will work fast
Im kinda stuck with these...
How i can get SOMETHING from Sql and check it in SAMP server?
pawn Код:
format(Query,sizeof(Query),"SELECT 'IP' FROM `Users` WHERE `User` = '%s'",pName);
    mysql_query(Query);
    mysql_store_result();
And i dont want to use it like: select user from bla,bla where is ip = user ip and check is there any rows...
Reply
#2

Bump...
Reply
#3

pawn Код:
new Data[256];
mysql_fetch_row_format(Data,"|");
sscanf(Data,"p<|>s[56]",PlayerInfo[playerid][IP]); // What ever the IP String is.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)