Top x player
#1

solved /
Reply
#2

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).
Reply
#3

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.
Reply
#4

Thanks for comment, I solved problem.
Reply
#5

Use ASC(ascending) instead of DESC(descending) order.

If you wanna learn more: https://dev.mysql.com/doc/refman/5.0...ting-rows.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)