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

DevShed:
Paginating Database Records with the Code Igniter PHP Framework
Aug 28, 2008 @ 12:57:51

DevShed continues their look at using the CodeIginiter PHP framework to build a sample application in this latest part of their series - a look a paginating the database results from a query.

As you may guess, however, Code Igniter comes bundled with a robust set of core classes, which can be used to perform all sorts of clever tasks, such as working with databases, performing file uploads, validating user-supplied data, and so forth. [...] I'm going to show you how to improve the MySQL-driven application developed in the preceding tutorial, since it'll be provided with the capacity for paging database records, via the pager class included with Code Igniter.

He starts by reviewing the previous part of the series, pulling the data from MySQL, then shows how to push that through the pagination component to create a simple user listing.

tagged: codeigniter framework database mysql result query paginate

Link:


Trending Topics: