Announcement

Collapse
No announcement yet.

Generating page numbers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generating page numbers

    Hi all!

    Okay, I'm setting up a databsae site, and articles are stored in a databse, with each one being given a unique id. Each article is seperated into pages, page=0, page=1, etc.

    So an article with id=7 would be called like this:

    http://www.mysite.com/showarticle.php?id=7?page=0

    Now, if I have 5 pages, I want to make a list of page numbers with hyperlinks, just like vbulletin does. For example, if I'm on page 3 of a 5 page article, I need the code to generate

    1 | 2 | 3| 4 | 5

    How do I go about doing this?

  • #2
    See this thread: http://www.vbulletin.com/forum/showt...?threadid=4592

    Comment

    Related Topics

    Collapse

    Working...
    X