Re: PHP and Oracle resources

From: Date: Sun, 28 Jan 2001 09:05:48 +0000
Subject: Re: PHP and Oracle resources
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37186@lists.php.net to get a copy of this message
On Sun, Jan 28, 2001 at 12:46:37AM -0500, Kristofer Widholm wrote : > Well, I've been given the joyous task of implementing the DaveTV > project at CBS via PHP, using Oracle as a database. > > I've never used Oracle before. > > Looking at the PHP functions for Oracle, and having heard about it in > the past, it seems like quite a different approach than any SQL > database I've ever used. I still don't get the whole point of cursor > objects, etc. :-) It's ain't that hard. Just use OCILogon to connect, then OCIParse to parse the sql statement and finally OCIExecute it. Loop through your result data with OCIFetchInto. The Shitload of possible errors should be abstracted into a class. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: mfischer@josefine.ben.tuwien.ac.at PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0

« previous php.general (#37186) next »