Re: Newbie Question-Quoting SQL
"Leif B. Kristensen" <[email protected]> Mon, 27 Apr 2009 22:02:19 +0200
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
On Monday 27. April 2009, Thomas Hart wrote: > $result = pg_query ($link, "Select * from Author"); If the table really is named "Author" with a capital A, you'll need to quote it, because postgres will fold it to lowercase otherwise. -- Leif Biberg Kristensen | Registered Linux User #338009 Me And My Database: http://solumslekt.org/blog/ -- Sent via pgsql-php mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-php