Re: Oracle and upper case field name

From: Date: Tue, 27 Jan 2004 21:02:57 +0000
Subject: Re: Oracle and upper case field name
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-32666@lists.php.net to get a copy of this message
From: "Daniel Clark" <dclark@nwlink.com> > I might try having a common PHP function that converts all field names to > lower case, and call that function with every field name. > > Or call each field by column number, $row[1] . Like http://us2.php.net/manual/en/function.array-change-key-case.php ?? > > When Oracle returns the result set, the field names are all in upper > > case. However, I have an application that needs to work on both MSSQL > > and Oracle. I don?t want to keep 2 copies. One has upper case field > > names and the other lower case. How could I make PHP or ADODB to work > > with lower case field names even the result set is upper case? ---John Holmes...

« previous php.db (#32666) next »