News Feed
Sections




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

ProDevTips.com:
Pagination with PHP Doctrine
September 04, 2008 @ 09:30:06

The ProDevTips blog continues their series on using Doctrine in a sample application in this new part, a look at paginating the results from your database query.

Things are starting to become more and more feature complete. Let's look at how to implement general search and pagination.

They define the search to perform ($searchConf) and the pagination parameters ($pageConf) and apply them to their current Doctrine setup applying a simple layout to make the numbered links for switching between pages. They also define the search() method that pulls the results from the table to push into the pagination component.

0 comments voice your opinion now!
pagination doctrine configure search template tutorial


blog comments powered by Disqus

Similar Posts

SitePoint: Silverlight and PHP, Part 2: Creating a Simple Twitter Client

Davey Shafik's Blog: DateTime Timestamp Parsing

SitePoint Web Foundations Blog: Quick Tip: Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box

PHPMaster.com: Error Handling in PHP

PHPBuilder.com: Using the mysqli Interface: Basic Techniques


Community Events





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


list interview series opinion introduction threedevsandamaybe install language developer community refactor code unittest release testing podcast framework symfony2 laravel experience

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