RE: [PHP-DB] Next/Prev 10 lines

2002-12-20 Thread Hynek Semecký ME
First you have to find how many rows would make your SELECT query in case you would not use "LIMIT from, num". Then you have to divide this by number of rows per page and use it in the SELECT query. Then to your number of pages displayed on your page you add links to the first number of the LIMIT p

RE: [PHP-DB] Next/Prev 10 lines

2002-12-20 Thread Cal Evans
check out php.weblogs.com ADODB does this for you. =C= * * Cal Evans * The Virtual CIO * http://www.calevans.com * -Original Message- From: Steve Dodkins [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 9:16 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Next/Prev 10 lines Has

Re: [PHP-DB] Next/Prev 10 lines

2002-12-20 Thread Jason Wong
On Friday 20 December 2002 23:16, Steve Dodkins wrote: > Has anyone got some code that will correctly display the next 10 line of a > table with prev and next working? > Or point me in the right direction for help? Search the archives. This kind of question gets asked (and sometimes answered) eve