Posts: 10,066
	Threads: 38
	Joined: Sep 2007
	
Reputation: 
0
	 
 
	
	
		Field index refers to the position of the field in the result, not the position of the field in the base table. You only have two fields; username (0) and score (1).
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 11,827
	Threads: 33
	Joined: Dec 2011
	
Reputation: 
0
	 
 
	
	
		Since you select 2 specific fields, the fields will be 0 for username and 1 for score. I assume GetWholeRows is used as loop (if not - it should).
EDIT: Late.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 126
	Threads: 15
	Joined: Oct 2012
	
Reputation: 
0
	 
 
	
		
		
		
		29.04.2014, 19:59 
(
 Последний раз редактировалось Freedom.; 12.06.2016 в 05:48.
)
	
	 
	
		Thanks for comment, I solved problem.