News Feed
Sections




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

NETTUTS.com:
How to Paginate Data with PHP
February 06, 2009 @ 07:58:32

This new tutorial from NETTUTS.com answers one of the more common question that gets asked by developers (usually those starting out) - how can I easily paginate my information?

I can remember years ago when I first began coding in PHP and MySQL, how excited I was the first time I got information from a database to show up in a web browser. [...] As a developer, one problem I'm constantly faced with is taking a large set of information and making it easy to digest. Whether its a large company's client list or a personal mp3 catalog, having to sit and stare at rows upon rows upon rows of data can be discouraging and frustrating. What can a good developer do? Paginate!

His method (the source is here) creates its own Pagination class that he extends for his specific example. The class allows the user to select now only which page they want to view but how many they want shown on each page.

0 comments voice your opinion now!
paginate data mysql database tutorial


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Simple Captchas with PHP and GD

IBM developerWorks: Devise Web 2.0 applications with PHP and DHTML (Part 1)

HowToForge.com: Building Apache with PHP,MySQL, OCI8 instant client support

PHPMaster.com: Using Facebook’s Realtime Updates and Subscription API

WebReference.com: The Building Blocks: Data Types, Literals, Variables, and Constants - Part 2


Community Events





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


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

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