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

Re: Postgres access using PHP3

From: Andy Holman <info(at)i-developit(dot)com>
To: John Poltorak <jp(at)eyup(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgres access using PHP3
Date: 2001-01-19 21:13:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Not sure exactly what you mean. Do you know the 
column names to the table in the db or is that
what you are trying to get?  Or do you mean you
are just trying to print out the results of a 
query into a drop down list?

Let me know and I will give you some code.


John Poltorak wrote:
> I'm trying out PHP3 for accesing Postgres through a Web interface
> and am having a problem coming up with the correct code...
> I'd like to retreive a list of values for a key field and then
> provide this to the user in the form of a drop down selection list,
> but I can't work out how to get the values into an array.
> I must be missing something as I can't a way of doing it...
> Any sample code snippets would be much appreciated.
> --
> John

In response to


pgsql-novice by date

Next:From: John PoltorakDate: 2001-01-19 21:32:48
Subject: Re: Postgres access using PHP3
Previous:From: Tom LaneDate: 2001-01-19 16:10:54
Subject: Re: Postgres, Perl, and Large Objects

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