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.
Thanks.

Member Avatar for diafol

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.