Re: previous & next buttons

Поиск
Список
Период
Сортировка
От Bruno LEVEQUE
Тема Re: previous & next buttons
Дата
Msg-id bmar0r$148m$1@news.hub.org
обсуждение исходный текст
Список pgsql-novice
Hi,

If I well understand what you want, you need a select query like :


select * from TheTable limit x offset y


With "<<Previous y y+1 y+2 y+3 .. y+x >>Next"

Bruno


Psybar Phreak wrote:

>hi all,
>
>im developing a site in perl with mason on a postgreSQL backend.
>
>i currently have a page that lists all items in a table, but would like to
>do the
>" << PREVIOUS  1  2  3  4   NEXT>> "
>
>sort of thing - say LIMIT of 10 records to a page.
>
>can someone help me out.
>
>thanks
>
>PP
>
>
>
>
>
>

--
Bruno LEVEQUE
System Engineer
SARL NET6D
bruno.leveque@net6d.com
http://www.net6d.com


В списке pgsql-novice по дате отправления:

Предыдущее
От: mvppetlab@yahoo.com (Chris)
Дата:
Сообщение: Re: Can SQL return a threaded-comment-view result set?
Следующее
От: "Bob Jarman"
Дата:
Сообщение: Off Topic