1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Pagination Script with Function to Choose Number of Results Per Page

Discussion in 'PHP' started by Masterful, Feb 24, 2009.

  1. #1
    Hi, guys. I was wondering if anyone knew where I could find a pagination script which allows a user to choose the number of results to display per page. And since most scripts just have 'First', 'Prev', 'Next' and 'Last' buttons, I would also like the script to have a drop-down menu which will allow a user to jump to any page.

    Is anyone aware of such a script?
     
    Masterful, Feb 24, 2009 IP
  2. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yea i can create it for you for a few $, or if your php literate you can search google and see how to run it.
     
    atlantaazfinest, Feb 24, 2009 IP
  3. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #3
    http://php.fm/pagination

    Does First/Prev/Next/Last buttons, allows choosing of results per page and also returns total number of pages (so you can generate a drop down.)
     
    Danltn, Feb 24, 2009 IP
  4. Masterful

    Masterful Well-Known Member

    Messages:
    1,653
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Thanks, Danltn, but I was thinking more on the lines of this type of pagination. The problem is, I don't understand the script. Where's the part where you echo the results? And is it normal PHP? It looks different.
     
    Masterful, Feb 24, 2009 IP