Re: Postgres access using PHP3 - Mailing list pgsql-novice

From Andy Holman
Subject Re: Postgres access using PHP3
Date
Msg-id 3A68ADF1.A877D30D@i-developit.com
Whole thread Raw
In response to Postgres access using PHP3  (John Poltorak <jp@eyup.org>)
Responses Re: Postgres access using PHP3
List pgsql-novice
John,
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.

--Andy



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

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres, Perl, and Large Objects
Next
From: John Poltorak
Date:
Subject: Re: Postgres access using PHP3