Re: Looking for help

Поиск
Список
Период
Сортировка
От Patrick Hatcher
Тема Re: Looking for help
Дата
Msg-id OF8E4292F2.030BB2E7-ON88256C22.007E868A-88256C22.007ED83B@fds.com
обсуждение исходный текст
Ответ на Looking for help  (Joseph L Montes <jmontes@zenplex.com>)
Ответы Re: Looking for help  (Papp Gyozo <pgerzson@freestart.hu>)
Список 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@zenplex.com       To:     pgsql-php@postgresql.org
                            
                    >                          cc:
                            
                    Sent by:                   Subject:     [PHP] Looking for help
                            
                    pgsql-php-owner@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?

http://www.postgresql.org/users-lounge/docs/faq.html




В списке pgsql-php по дате отправления:

Предыдущее
От: "Bryan Bullard"
Дата:
Сообщение: Re: Web Hosting
Следующее
От: "Cornelia Boenigk"
Дата:
Сообщение: Re: Looking for help