Date: 04/05/01
- Next message: mark <email protected>: "[phplib] Loginform on every page"
- Previous message: Brian Popp: "[phplib] Multiple DBMS"
- In reply to: Brian Popp: "[phplib] Multiple DBMS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brian,
Yes it is possible to do, and I have done it myself (using MySQL
and Postgres) You can simply change the class name of one of them to
something else (DB_Sql -> DB_ODBC_Sql) in the include files. You would
also need to prepend both of the include files, and create 2 different
subclasses in the local.inc
DB_Example extends DB_Sql {
...
DB_ODBC_Example extends DB_ODBC_Sql {
...
-Rob
On Thu, 5 Apr 2001, Brian Popp wrote:
> Date: Thu, 5 Apr 2001 14:40:49 -0500
> From: Brian Popp <bpopp <email protected>>
> To: "Phplib (E-mail)" <phplib <email protected>>
> Subject: [phplib] Multiple DBMS
>
> Does anyone know if it's possible to use two different DBMS systems in the
> same PHPLib application (ODBC and mysql, for example). I'm guessing that the
> answer is no since the classes are both named DB_Sql in their corresponding
> include files. :(
>
> Thanks in advance for any help!
>
> BPopp - bpopp.net
> bpopp at midsouth dot rr dot com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
>
-----------------------------------------------------------------
Rob See | Residential Networking Program
System Administrator | University at Albany
(518) 442-3316 | LC-SB 31a
Work: rob <email protected> | 1400 Washington Ave
Personal: robbysee <email protected> | Albany, NY 12222
-----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: mark <email protected>: "[phplib] Loginform on every page"
- Previous message: Brian Popp: "[phplib] Multiple DBMS"
- In reply to: Brian Popp: "[phplib] Multiple DBMS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

