Re: Limits and php...
| From: | Curt Zirzow | Date: | Tue, 07 Oct 2003 22:06:29 +0000 |
| Subject: | Re: Limits and php... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165377@lists.php.net to get a copy of this message | ||
* Thus wrote Jay Blanchard (jay.blanchard@niicommunications.com):
> [snip]
> I have been trying to understand how to write a simple code that will
> let me limit the number of files view to 10 records, but I need to
> under how php can look at a number of records and then caculates how
> many pages it needs to show all records. Is there some sample code that
> shows how to calculate and how to show limits 0,5 5,10 so on and so
> on....
> [/snip]
>
> search anywhere for 'paginating records', tutorials abound.
oh.. pagination...
Here is some psudo advanced code, the output can be seen on my stats
pages.
http://zirzow.dyndns.org/html/php/code/paginate.php
Curt
--
List Stats: http://zirzow.dyndns.org/html/mlists/php_general/
"I used to think I was indecisive, but now I'm not so sure."