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