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.
Page 3 of 3 FirstFirst 123
Results 31 to 36 of 36
  1. #31
    New Coder
    Join Date
    Dec 2010
    Posts
    28
    Thanks
    4
    Thanked 0 Times in 0 Posts
    On the last part of the script, I adjusted the +1 to * 20. The only thing is the number will not bold.

  2. #32
    New Coder
    Join Date
    Dec 2010
    Posts
    28
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I'm ok with how the pagination is now 1-20 21-40 etc.. but if I do page=20 I'd like for the 21-40 to bold.. I'm stuck at this point!

  3. #33
    New Coder
    Join Date
    Dec 2010
    Posts
    28
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I'll consider this RESOLVED. I changed to this:

    PHP Code:
    if ((($currentpage  20) + 20) + 1)) 
    and then the echo for the link went to

    PHP Code:
    $current /20 +20
    Solution solved! Just needed some sleep and coffee

    Thanks!

  4. #34
    New Coder
    Join Date
    Dec 2010
    Posts
    28
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Thumbs up

    Admin can change this to RESOLVED

  5. #35
    New Coder
    Join Date
    Oct 2012
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Pagination

    The codes shown here are very much helpful to add pagination, which code will have to add if want the total count?

  6. #36
    New Coder
    Join Date
    Dec 2010
    Posts
    28
    Thanks
    4
    Thanked 0 Times in 0 Posts
    See on page 1 where I had my database using a function to get stuff. That'll get you started.


 
Page 3 of 3 FirstFirst 123

Posting Permissions

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