| From: | "Patrick Hatcher" <PHatcher(at)macys(dot)com> |
|---|---|
| To: | "Joseph L Montes <jmontes" <jmontes(at)zenplex(dot)com> |
| Cc: | pgsql-php(at)postgresql(dot)org, pgsql-php-owner(at)postgresql(dot)org |
| Subject: | Re: Looking for help |
| Date: | 2002-08-27 23:05:52 |
| Message-ID: | OF8E4292F2.030BB2E7-ON88256C22.007E868A-88256C22.007ED83B@fds.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-php |
Use quotes around the field and table names that are not all lower case:
Ex:
$result = pg_query($db," Select 'Field1',field2, 'fEild3' From'TABLE1' ");
Patrick Hatcher
Joseph L Montes
<jmontes(at)zenplex(dot)com To: pgsql-php(at)postgresql(dot)org
> cc:
Sent by: Subject: [PHP] Looking for help
pgsql-php-owner(at)post
gresql.org
08/27/2002 03:56 PM
I am new to combining PHP and Postgres. I am able to Select and create
tables by using the Select * From "table" command fine, but What happens
if I only want to select a couple of fields. How do I go about this.
also how do you select from a table that is not all lower case. Granted
this is probably quite simple, but I am new to this. thanks ewveryone
--
Joseph L Montes
Senior Systems Engineer
Zenplex Inc.
317 Madison Ave. suite 1500
New York New York
V(212)499-0668 Ext. 203
F(646)865-0783
http://www.zenplex.com
http://www.zenplex.org
http://www.tambora.org
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bryan Bullard | 2002-08-27 23:09:20 | Re: Web Hosting |
| Previous Message | Joseph L Montes | 2002-08-27 22:56:07 | Looking for help |