Re: Logic question
| From: | Hugh Bothwell | Date: | Wed, 17 Apr 2002 16:19:05 +0000 |
| Subject: | Re: Logic question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93346@lists.php.net to get a copy of this message | ||
"Julio Nobrega Trabalhando" <inerte@hotmail.com> wrote in message
news:20020417154947.98385.qmail@pb1.pair.com...
> Check out the LIMIT syntax from your database. If it's Mysql you can use
> something like:
>
> LIMIT nr, from
>
> i.e: LIMIT 3, 30
>
> Which will return 3 records starting from the 30th. So:
actually,
LIMIT offset, quantity
(the given example would return the fourth through
thirty-third results).