Multiple page manager

From: Date: Sun, 09 Mar 2003 17:20:48 +0000
Subject: Multiple page manager
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8508@lists.php.net to get a copy of this message
I just installed last night Smarty and it seems to be really great. I started to convert my previous page (no template) to Smarty architecture. One function I could not find so far : multiple page manager. I have already my function to display the number of pages, but I'd like to know if this functionality exist in Smarty Let's imagine I have a query from my Database with 20 records. I know how I can limit the display to have only 10 records per page but is there a way to at the end of my current page : a link to page1, link to page 2 for instance : <body> record 1 displayed record 2 displayed [...] record 10 displayed <a href=page.php?page1>page1</a> - <a href=page.php?page=2>page2</a> </body> Your help will be appreciated. Thank you Jacques

« previous php.smarty.general (#8508) next »