Re: RE: RE: RE: RE: AW: [SMARTY] Paging
| From: | Rasmus Schultz | Date: | Thu, 12 Dec 2002 13:39:15 +0000 |
| Subject: | Re: RE: RE: RE: RE: AW: [SMARTY] Paging | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6759@lists.php.net to get a copy of this message | ||
>> By submitting a query for it? i.e. mypage.php?perpage=20, or
>> by creating a form with a "perpage" field ... this way, any
>> safety and defaults you implement for your arguments, for the
>> end user, shield the designer from the mechanics as well ...
>
>but this would allow the end user to change the settings as well, which
>could be an unwanted feature.
>
>the designer is hidden from the mechanics, all they have to do is put
>one line of smarty code to call the plugin. then they loop through the
>results as if they had been set by the php programmer. what else do they
>need shielding from?
{return_paged_results query="delete * from customer"}