Re: algorithm of pages beaking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:01 AM -0700 3/19/08, It Maq wrote:
I am working in page breaking (dividing the result of
a select query in multiple pages).

Now my problem is not with the php code, but with the
algorithm that organize the links to the pages. I want
to do something like google, the pages numbers at the
bottom of the page must not exceed a maximum number,
the actual page must be in the center of the links to
other pages and there are a lot of other conditions
that arise.

Do you know about a site that describe these
conditions or may be propose the whole algorithm for
that?


Hi Maq:

I think this might help.

http://webbytedd.com/bbb/paging/index.php?page=1

The code for it is there.

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux