simple previous / next form in PHP

From: "Jules Alberts" <julesa(at)arbodienst-limburg(dot)nl>
To: pgsql-novice(at)postgresql(dot)org
Subject: simple previous / next form in PHP
Date: 2002-03-14 15:38:14
Message-ID: 200203141547.g2EFlDfd017728@artemis.cuci.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

Browse pgsql-novice by date

  From Date Subject
Next Message Dmitry Tkach 2002-03-14 20:00:51 Question about index extensions.
Previous Message Josh Berkus 2002-03-13 23:22:54 Re: Excluding null values