Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pagination Help Needed

    I am trying to set up an automatic pagination system for a simple website.
    I found some scripts online and never managed to make them work.
    I think it may come from Mysql.

    So I ask you, how to integrate a pagination script with its Mysql?

    Do I need to enter all my pages in Mysql or it does that automatically?

    Here some of the scripts I have tried:
    http://www.phpeasystep.com/phptu/29.html
    http://www.phpeasycode.com/pagination/

    Thank you for your free time and help.

  • #2
    New Coder
    Join Date
    Apr 2012
    Posts
    23
    Thanks
    3
    Thanked 1 Time in 1 Post
    Quote Originally Posted by FanOfCF View Post
    I am trying to set up an automatic pagination system for a simple website.
    I found some scripts online and never managed to make them work.
    I think it may come from Mysql.

    So I ask you, how to integrate a pagination script with its Mysql?

    Do I need to enter all my pages in Mysql or it does that automatically?

    Here some of the scripts I have tried:
    http://www.phpeasystep.com/phptu/29.html
    http://www.phpeasycode.com/pagination/

    Thank you for your free time and help.
    What you have given people is... nothing.

    Do not just ask people to make a script for you, post what you have done and people can advise you on how to make it work.

  • #3
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,545
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    Show us the link to your site ... the one you want to paginate.
    And explain what the pages will be (or are supposed to be).

  • #4
    Regular Coder primefalcon's Avatar
    Join Date
    Aug 2008
    Location
    /home/primefalcon/
    Posts
    678
    Thanks
    8
    Thanked 39 Times in 39 Posts
    generally this is what yo have to work through.....

    how many results do you want to show per page? how many entries are there?

    say you have 200 entries and you want to show 50 per page, that would mean there'd be 4 pages

    1-49 first page
    50-99 second page
    and so on or something similar


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •