26.01.2011, 22:53
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?
And i dont want to use it like: select user from bla,bla where is ip = user ip and check is there any rows...
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();