Paging db results
| From: | George Pitcher | Date: | Thu, 06 May 2004 07:15:34 +0000 |
| Subject: | Paging db results | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11360@lists.php.net to get a copy of this message | ||
Hi,
I'm new to Smarty, having played around with it for a week now.
I'm building a web version of a Filemaker database gui and I need to be able
to produce paged results. These aren't the usual 10 or 25 rows per page, but
1 record per page, displaying around 60 fields. The recordset could be as
many as 6-700.
Just to complicate matters, in addition to moving through the recordset I
als want to be able to move between different functional pages, whilst
remaining in the curent position of the original recordset. Ideally, this
would not entail performing a SQL query each time I change layouts.
I'm using PEAR DB to access MySQL and my development is based on Win2K/IIS5
but final deployment will be Linux/Apache.
Any tips, suggestions or advice would be welcome.
George in Oxford