Received: from virtual1.giganet.nl (tarantula.giganet.nl [212.125.143.1]) by postgresql.org (Postfix) with ESMTP id 196EB475902 for ; Wed, 13 Mar 2002 04:16:25 -0500 (EST) Received: from artemis.cuci.nl (artemis.cuci.nl [212.125.128.9]) by virtual1.giganet.nl (BuGless_3.01) with ESMTP id g2D9GMi17334 for ; Wed, 13 Mar 2002 10:16:22 +0100 Received: from adlsa ([10.1.12.174]) by artemis.cuci.nl (BuGless_3.01) with ESMTP id g2D9GLfd020708 for ; Wed, 13 Mar 2002 10:16:22 +0100 Message-Id: <200203130916.g2D9GLfd020708@artemis.cuci.nl> Received: from Spooler by adlsa (Mercury/32 v3.30) ID MO000428; 13 Mar 02 10:15:18 +0100 Received: from spooler by arbodienst-limburg.nl (Mercury/32 v3.30); 13 Mar 02 10:12:12 +0100 From: "Jules Alberts" Organization: ARBOdienst Limburg BV To: pgsql-php@postgresql.org Date: Wed, 13 Mar 2002 10:11:56 +0100 MIME-Version: 1.0 Subject: [newbie] simple browse / edit form in PHP Reply-To: julesa@arbodienst-limburg.nl X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Archive-Number: 200203/10 X-Sequence-Number: 979 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 - delete record - add 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 -- Jules.