Re: Re: Page counter from a query ?
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Tue, 04 Nov 2003 15:01:17 +0000 |
| Subject: | Re: Re: Page counter from a query ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31411@lists.php.net to get a copy of this message | ||
question/comment...
i don't use PEAR currently. but i noticed this class expects
register_globals=on and would therefore not to work on my system.
Or does another parent class take care of the translation between $form and
$_GET['form']?
Jeff
pete M
<pmorgan@ukds.net To: php-db@lists.php.net
> cc:
>
Subject: [PHP-DB] Re: Page counter from a query ?
11/04/2003 09:53
AM
I use PEAR db to make my life easy..
here's their pager class
http://vulcanonet.com/soft/index.php?pack=pager
pete
Larry Sandwick wrote:
> Is there a way to limit the number of pictures being display from a
> query?
>
>
>
> Example.
>
>
>
> Let say I have 100 pictures and I would like to display only 20. How
> would I put the numbers at the bottom of the page?
>
>
>
> 1 2 3 4 5
>
>
>
> When you click on 1 you get 1 - 20, and when you click on 2 you get 21 -
> 40. I believe I can use the limit command for the query, I just do not
> understand how to put the query on the number.
>
>
>
> Any help would greatly be appreciated!!!
>
>
>
> TIA
>
>
>
>
>
> Larry Sandwick
>
> Sarreid, Ltd.
>
> Network/System Administrator
>
> phone: (252) 291-1414 x223
>
> fax : (252) 237-1592
>
>
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php