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 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2005
    Location
    Pakistan
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Pagination in Php ?

    Hello Guys,

    I am using a script which can't get pages automaticly. Like "Next Page" go to next page and "Preveious Page" go to previous page.

    I need a script which can get pages automaticly, Like (Pages : 1 | 2 | 3 | 4 ).

    Please help me pleaseeeeeeeee!!!!!!!!

    Thanks.

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    West Midlands, UK
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, firstly we'd need to know how your pages relate to each other - exactly how do you know which page is next and which page is previous in relation to the current page as well as whether you use flat files with a standard naming protocol or dynamic data generated from a database in which case, again, how do you want to relate each page, ascening order by page id, alphabetical order by page name, etc.

    Besides that there are plenty of ready made scripts on the net, if all you want is a ready made solution I'd recommend you go search a little. If you want to write your own and need some pointers or if you run into problems along the way, then post back


  •  

    Posting Permissions

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