Mysql selecting all players that have certain variable
#5

Quote:
Originally Posted by Saddin
Посмотреть сообщение
Thanks, new to mysql so I make stupid mistakes...

Now command prints 3 times same Nick and same Rank. But I have at least 3 different player names that are in same faction.
Fixed by putting "i" instead of "0" in :

PHP код:
            cache_get_value(0"Name"Nick24); 
            
cache_get_value_int(0"Rank"Rank); 
            
cache_get_value_int(0"LoggedIn"Status); 
->

PHP код:
            cache_get_value(i"Name"Nick24); 
            
cache_get_value_int(i"Rank"Rank); 
            
cache_get_value_int(i"LoggedIn"Status); 
Reply


Messages In This Thread
Mysql selecting all players that have certain variable - by Saddin - 16.05.2017, 16:42
Re: Mysql selecting all players that have certain variable - by Vince - 16.05.2017, 16:44
Re: Mysql selecting all players that have certain variable - by JaKe Elite - 16.05.2017, 16:45
Re: Mysql selecting all players that have certain variable - by Saddin - 16.05.2017, 16:49
Re: Mysql selecting all players that have certain variable - by Saddin - 16.05.2017, 17:01

Forum Jump:


Users browsing this thread: 2 Guest(s)