1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

count from results on page

Discussion in 'XenForo Development Discussions' started by 0xym0r0n, Jan 18, 2013.

  1. 0xym0r0n

    0xym0r0n 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 :\
  2. 0xym0r0n

    0xym0r0n Well-Known Member

    I was being 100% dumb on this.

    To answer my own question {$i}

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


Share This Page