RE: [PEAR] Oracle and numRows

From: Date: Tue, 16 Dec 2003 13:35:36 +0000
Subject: RE: [PEAR] Oracle and numRows
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9567@lists.php.net to get a copy of this message
Lukas, Thanks for your help! It worked! Steve -----Original Message----- From: Lukas Smith [mailto:smith@backendmedia.com] Sent: Tuesday, December 16, 2003 8:28 AM To: 'Dimoff, Steve'; pear-general@lists.php.net Subject: RE: [PEAR] Oracle and numRows > From: Dimoff, Steve [mailto:sdimoff@accipiter.com] > Sent: Tuesday, December 16, 2003 2:18 PM > To: 'Lukas Smith'; Dimoff, Steve; pear-general@lists.php.net > Subject: RE: [PEAR] Oracle and numRows > > Well... that worked, however now I'm getting Undefined index errors. > > [11 rows returned] <---- NO LONGER SAYS OBJECT! > > BUT.... > > > Notice: Undefined index: RUR_ID in /www/htdocs/userregresults.php on line > 51 <snip> The reason for that is that portability mode also lowercases all keys when you do associative fetches. So you will need to lowercase all your keys. So instead of $result['RUR_ID'] You will need to do $result['rur_id'] Regards, Lukas

« previous php.pear.general (#9567) next »