* Thus wrote Jay Blanchard ([EMAIL PROTECTED]):
> [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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to