Re: Database Browsing
| From: | Manuel Lemos | Date: | Mon, 03 Jul 2000 17:28:20 +0000 |
| Subject: | Re: Database Browsing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4563@lists.php.net to get a copy of this message | ||
Hello Sean,
On 03-Jul-00 12:56:20, you wrote:
>I was wondering if anyone would be willing to provide some theory as to how
>to implement database browsing (preferably without altering the structure of
>the DB). You know like in a web server, where you can limit the number of
>hits, and the browse them page by page.
There is no portable way to limit the number of selected result rows that
works with all databases. You may want to check Metabase database
independence package that lets you achive that by calling a this command
before executing a query:
MetabaseSetSelectedRowRange($database,$first,$limit);
http://phpclasses.UpperDesign.com/browse.html/package/20
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--