RE: [PHP] algorithm of pages beaking
| From: | Edward Kay | Date: | Wed, 19 Mar 2008 16:16:33 +0000 |
| Subject: | RE: [PHP] algorithm of pages beaking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271814@lists.php.net to get a copy of this message | ||
> Hi,
>
> 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?
>
> Thank you
>
>
http://www.google.co.uk/search?q=pagination+php