Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to create paged content?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28303
    noahgelman
    Participant

    I don’t know if this is a CSS, PHP, javascript, or cms problem. How do you code a page so that after a certain amount of content, there is a page number tab system kind of thing at the bottom where it also has the page number as well as a ‘previous’ and next ‘button’ ?

    #72107
    Rob MacKay
    Participant

    You need to be looking for "Pagination" :)

    http://www.phpfreaks.com/tutorial/basic-pagination

    That’s one for you to have a look at to start with :)

    #72111
    noahgelman
    Participant

    Thank you, this helped very much.

    My only question would be when in the turtorial, he mentions "But for the purposes of this tutorial I will use a table called ‘numbers’ and it will have two columns one called ‘number’ type int and the other one called ‘id’ type int, auto-incremented."

    When he says it’s called numbers, does he mean the table has a class or id? And would would either change how it’s written in the script? He also names his 2 columns number and id. What if you have three columns? How does that change the code?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.