note 10389 added to pg_fieldname
| From: | ccasal at compuserve dot com | Date: | Sun, 31 Dec 2000 13:20:07 +0000 |
| Subject: | note 10389 added to pg_fieldname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9258@lists.php.net to get a copy of this message | ||
There seems to be a bug where pg_fieldname returns only the field name.
On a select such as :
"select c.name, con.name from customers c, contacts con where con.customer_id = c.id"
both fields are named "name" where they should be called "c.name" and
"con.name"
my 2 cents.
http://www.php.net/manual/function.pg-fieldname.php