SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2004
    Location
    montreal
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    links for records number

    Anybody know how to put links like 85-90, 90-95, 95-100 (which are records) so that users can quickly click on any of them to access the records in question.

    any ideas?

    thank you

  2. #2
    SitePoint Zealot
    Join Date
    Jan 2004
    Location
    Wheelersburg
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,

    If you mean how would you access each one of those, then just make sure you have an ID field, and use

    SELECT * FROM table WHERE ID > 84 LIMIT 5

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2004
    Location
    montreal
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    k....i dont know if thats gonna work, because i have queries running through that table (and i already have it only showing 5 records at a time), and i want to put a link that'll make the user be able to click on record 0-5, 5-10, 10-15, etc....

  4. #4
    SitePoint Zealot
    Join Date
    Feb 2004
    Location
    montreal
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    kinda like how you see it in this forum, on the bottom of each thread when there are alot of posts

    Goto page 1, 2, 3 ... 448, 449, 450 Next

    but instead of page 1, 2, 3

    i would like go to records 1-5, 5-10, .....

  5. #5
    SitePoint Addict Resident Evil's Avatar
    Join Date
    May 2003
    Location
    Barrow
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.phpfreaks.com/tutorials/73/0.php

    that is what yer lookin for me think

  6. #6
    SitePoint Zealot
    Join Date
    Feb 2004
    Location
    montreal
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tried to understand that tutorial, it seems very, very simple and straightforward, but i cant figure out how to incorporate that onto my site


Bookmarks

Posting Permissions

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