1,105,225 Community Members

How do I Paginate my CMS

Member Avatar
Newbie Poster
1 post since Oct 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]

Hi. I've been following the Build a CMS in an Afternoon tutorial at http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/ . 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.

Member Avatar
Where are my eyes?
12,941 posts since Oct 2006
Reputation Points: 1,821 [?]
Q&As Helped to Solve: 1,845 [?]
Skill Endorsements: 90 [?]

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

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