Re: paging at which level
| From: | Richard Heyes | Date: | Sat, 18 Oct 2008 12:05:22 +0000 |
| Subject: | Re: paging at which level | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282070@lists.php.net to get a copy of this message | ||
> usually i use PEAR and page thanks their table library
Table library? Y'know there's a dedicated paging library in PEAR,
imaginitively called "Pager".
> , but to avoid high
> transfer of data from DB to PHP page it is better to do the paging at
> database level.
> I would like to know what is your point of view on this topic and what do
> you use to do ?
My Datagrid does this for you. You simply give it a database
connection, along with an SQL query, and it does the rest:
http://www.phpguru.org/downloads/datagrid/latest/
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org