Обсуждение: simple previous / next form in PHP

Поиск
Список
Период
Сортировка

simple previous / next form in PHP

От
"Jules Alberts"
Дата:
hi everyone,

i have a test setup with postgresql 7.2, PHP 4, and apache. everything
works fine, PHP generates HTML pages with query results in it. now i
want to create a simple form which shows the current record, and has
these buttons:

- previous, first, next, last record

it sounds very simple, but where do i start? i guess i should make a
stateless connection (the form will be accessed via the web). i figure
i need some sort of recordset, is a CURSOR the right approach? maybe
someone can point me to an example?

TIA!

P.S. i posted this on pgsql-php, but no reactions :(

--
Jules.