We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,127 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How do I Paginate my CMS

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.

2
Contributors
1
Reply
35 Minutes
Discussion Span
1 Year Ago
Last Updated
3
Views
Chett
Newbie Poster
1 post since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

diafol
Keep Smiling
Moderator
10,660 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,513
Skill Endorsements: 57

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0736 seconds using 2.68MB