From: Adam Lang <aalang@rutgersinsurance.com>
To: pgsql-php@postgresql.org
Subject: Re: SELECT column name
Date: Wed, 11 Jul 2001 09:44:07 -0400
Message-ID: <005c01c10a0f$8e906720$330a0a0a@rutgersinsurance.com> (raw)
References: <5.1.0.14.0.20010710164328.00a258e0@172.16.48.1>
You are missing the FROM clause. Sort of need to tell it which table to run
the query on.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Laurent Patureau" <lpatureau@idfr.net>
To: <pgsql-php@postgresql.org>
Sent: Tuesday, July 10, 2001 10:47 AM
Subject: [PHP] SELECT column name
> Hi,
>
> I 'd like to select column name on table for a client Where value for this
> client for columns is yes :
>
> SELECT columns_name WHERE client='$client' AND column.values='oui'
>
> Is anybody can help me ?
>
> Thanks
> LP
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: aalang@rutgersinsurance.com
Subject: Re: SELECT column name
In-Reply-To: <005c01c10a0f$8e906720$330a0a0a@rutgersinsurance.com>
References: <5.1.0.14.0.20010710164328.00a258e0@172.16.48.1> <005c01c10a0f$8e906720$330a0a0a@rutgersinsurance.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox