Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?


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


pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group