Re: Best way to handle PREVIOUS and NEXT processing of database records retrieved

From: Date: Thu, 26 Jan 2006 22:15:06 +0000
Subject: Re: Best way to handle PREVIOUS and NEXT processing of database records retrieved
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229347@lists.php.net to get a copy of this message
On Thu, January 26, 2006 2:27 pm, Sue wrote: > I am retrieving records from a MySQL database and need to just display > each > record one after the other on a page. I only want to display a > maximum of > 25 records per page though, and am wondering if there is a way to > handle > this easily within PHP? I'd like to use something like NEXT and > PREVIOUS as > links to go back and forth from each of the pages if there is more > than 1 > page of data to display. Any examples/ideas would be greatly > appreciated. There are probably a few thousand PHP / MySQL "pagination" classes out there... http://info.com/php+mysql+pagination -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#229347) next »