Hey, I’m trying to code a leaderboard that is displayed inside my app. I have no physical leaderboard within my mysql database, just a user table. The way I’m planning on filling the leaderboard within the app is by using this sql statement “SELECT * FROM user
ORDER BY points DESC LIMIT 10”. I am able to select the users with the top 10 points, however I am not sure how to return 10 different arrays through json back to my app. Can anyone help?
Thanks ahead of time! [import]uid: 111561 topic_id: 28794 reply_id: 328794[/import]