Re: PostgreSQL lib and character case
| From: | Martin Marques | Date: | Wed, 28 Apr 2004 22:22:40 +0000 |
| Subject: | Re: PostgreSQL lib and character case | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34156@lists.php.net to get a copy of this message | ||
El Wednesday 28 April 2004 03:21, Tumurbaatar S. escribió:
> I use pg_fetch_array() to get a record content. But it seems that
> to access elements of the returned associative array, I should
> use lowercase field names. Is there any way to use case-insensitive
> field names?
No. PHP is case-sensitive, so you have to use lower case (unless you made the
relation name case-sensitive when you created the PG table).
--
19:21:02 up 43 min, 6 users, load average: 1.46, 0.73, 0.58
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------