Re: previous / next page

From: Date: Fri, 27 Apr 2001 13:26:54 +0000
Subject: Re: previous / next page
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-615@lists.php.net to get a copy of this message
On Fri, 27 Apr 2001, Monte Ohrt wrote: > This has been discussed before, check the archives. Show your search > results with an insert tag. I don't have any explicit examples though, > sorry. Maybe this will be added to tips & tricks if I find some time. You don't really need to use an insert tag. Some simple logic in the main script that gets the range of results to be shown and assigns them to the template is sufficient. The script should also assigned the offset values for previous/next pages to the template and the template passes them onto the script as hidden variables. -Andrei * If Bill Gates had a nickel for every time Windows crashed.. Oh, wait.. *

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