Re: [PHP4BETA] next page
| From: | David Robley | Date: | Tue, 15 Feb 2000 23:13:34 +0000 |
| Subject: | Re: [PHP4BETA] next page | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10323@lists.php.net to get a copy of this message | ||
On 14 Feb, mike@stratabase wrote:
> I have been looking around for a simple way to display the next ten
> result from page to page but cant seem to find any simple code... is
> there any? Or do i have to tough this out?
Assuming you are using MySQL (or something that supports LIMIT and
OFFSET) see http://px.sklar.com/code.html?code_id=77
It's not exactly simple code because its' not exactly a simple process;
you'll have to adapt it to suit your query structure. And to forestall
your first question, you don't need mysqlcheck.inc on the second line
:-)
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA