News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Paginating Blog Entries with Code Igniter
December 18, 2008 @ 11:11:19

DevShed continues their series covering the CodeIgniter framework in this second part, a look at paginating the results of a database query for blog entries.

In this initial stage, the controller in question had a rather limited functionality, since it was only capable of displaying a bunch of blog entries that were previously stored in a MySQL table. [...] Nevertheless, in this second article of the series, I'll be explaining how provide the controller class built in the preceding tutorial with the capability for paginating blog entries.

Basing the enhancements on the code from the previous article, they update their controller to use the pagination library that comes with the framework to split up the results. The page number is based off of the third parameter of the URL.

0 comments voice your opinion now!
pagination page blog entry codeigniter tutorial library


blog comments powered by Disqus

Similar Posts

Daniel Vecchiato's Blog: Using Zend Framework components in Code Igniter

Chris Hartjes' Blog: A New Way Of Judging Frameworks: Where are the tests?

Robert Basic's Blog: A Zend_Captcha example

Matthew Leverton\'s Blog: How to add a custom CAPTCHA to phpBB2

Community News: Zend and Dojo Partnership for Ajax in the Zend Framework


Community Events





Don't see your event here?
Let us know!


update zendserver framework unittest deployment language library interview opinion api introduction release package install tips series podcast symfony community laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework