count from results on page


Well-known member
I used Jake's php in page set-up and I'm able to return some results from the database.
I'd like to number those results for a leaderboard type feature

Here's an example of what I'm getting results for and have achieved

User1 500 posts
User2 400 posts
User3 300 posts

Here's what I want it to do

1. User1 500 posts
2. User2 400 posts
3. User3 300 posts

I can get this to work outside of XF but how do I pass on the ability to use it in my page??? I get ZEND errors when i try to do it my way :\
I was being 100% dumb on this.

To answer my own question {$i}

I was trying to use something way more complicated.... *SMH*

Top Bottom