Re: [PHP-WIN] Code to splite page

2003-11-27 Thread Luis Moreira
Not sure I understand what you want. It seems simple programming, though. Be a little more specific... Luis - Original Message - From: "Lawrence" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 27, 2003 1:43 PM Subject: [PHP-WIN] Code to splite page > I need the co

Re: [PHP-WIN] Code to splite page

2003-11-27 Thread Ignatius Reilly
You may profitably investigate the PEAR HTML_Pager class. http://pear.php.net/manual/en/package.html.pager.intro.php Ignatius _ - Original Message - From: "Lawrence" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 27, 2003 14:43 Subject: [PHP-W

RE: [PHP-WIN] Code to splite page

2003-11-27 Thread Croskerry, Dan
Hi Lawrence, I'm assuming you are pulling these products from a mysql db. If so you can use the LIMIT clause. $sql = "SELECT * FROM table LIMIT 1, 10"; //where these integers represent row_count, OFFSET Read more here http://www.mysql.com/doc/en/SELECT.html You can substitute a variable for the