Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.org (8.9.3/8.9.3) with ESMTP id AAA85078 for ; Fri, 31 Mar 2000 00:17:29 -0500 (EST) (envelope-from wilson@mclachlan.com.au) Received: from wraith.mclachlan.com.au (gw.mclachlan.com.au [203.26.11.145]) by mailman.zeta.org.au (8.8.7/8.8.7) with SMTP id PAA20833 for ; Fri, 31 Mar 2000 15:17:21 +1000 Received: by localhost with Microsoft MAPI; Fri, 31 Mar 2000 15:16:35 +1000 Message-ID: <01BF9B24.1AC04780.wilson@mclachlan.com.au> From: Wilson Fletcher Reply-To: "wilson@mclachlan.com.au" To: "pgsql-sql@postgresql.org" Subject: RE: Loading values in from postgreSQL database into a combo box using PHP Date: Fri, 31 Mar 2000 15:16:29 +1000 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200003/12 I did it this way: ".$row->name; $count++; endwhile; $items = implode( $list, "\n"); pg_close( $conn ); echo "Author :

\n"; ?> Wilson Fletcher ---------- From: Jay[SMTP:jmac@nemesis.com.au] Sent: Wednesday, 29 March 2000 22:28 To: pgsql-sql@postgresql.org Subject: [SQL] Loading values in from postgreSQL database into a combo box using PHP I am trying to find the script commands (in a .php3 file) for reading, say, all the surnames from an Address Book table and load them into a combo (or drop-down) box so that the user can choose one and then click on submit button for some other purpose. Can someone give me an example of how this is done? JM