Re: Quick question
| From: | Charles Kline | Date: | Mon, 17 Mar 2003 13:27:40 +0000 |
| Subject: | Re: Quick question | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4267@lists.php.net to get a copy of this message | ||
Connections to any data source are pretty much the same with PEAR - that as I see it is one of the best reasons to use it (absrtaction).
So, really the only thing you need to change when making the connection is the db type.
DB::connect(oci8)://username:password@protocol+hostspec/database
Should work.
On Monday, March 17, 2003, at 08:13 AM, luis wrote:
Hi, Can someone send me an example of a DSN to connect to an Oracle database using PEAR::Db? Thanks! Luis.