How do I Paginate my CMS


Hi. I've been following the Build a CMS in an Afternoon tutorial at . The CMS works great but the only thing it's lacking is pagination. The article archive displays the list of all of the articles that are in the database, but I want to be able to seperate these into pages. I've attempted it a few times but can never seem to get it to work. Clicking on a next page link usually brings me back to the homepage. I'm new to PHP but I have been able to get this to work with with information on a single page (i.e. one where the information is not being pulled from a database.)

If anyone could even point to an example where this is covered that would be great.


try searching for pagination in this forum, it's been covered to death.

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: