RE: [PHP-WIN] < Previous and Next > Buttons
| From: | Chris Kranz | Date: | Mon, 17 Feb 2003 23:00:39 +0000 |
| Subject: | RE: [PHP-WIN] < Previous and Next > Buttons | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18571@lists.php.net to get a copy of this message | ||
Sorry I can't be much more help than this... but lookup the LIMIT
function for MySQL. If you track how many records your displaying on
each page, and what record your on, it's pretty straight forward to make
next, prev page navigation. Next and prev will obviously have pointers
to whatever record your currently on, and it should be fairly straight
forward...
Hope this helps anyway...
chris kranz
fatcuban.com
-----Original Message-----
From: Matt Babineau [mailto:matt@criticalcode.com]
Sent: 17 February 2003 15:03
To: php-windows@lists.php.net
Subject: [PHP-WIN] < Previous and Next > Buttons
Hi All-
I was wondering what the best way to create previous and next buttons
when pulling products from a database? I haven't had much luck so far
and was wondering if someone had an easy / efficient way to accomplish
this?
Thx-
M