[phplib] How to do 2 DB connections with 2 differents databases in same source From: Philippe Vivien (pvivien <email protected>)
Date: 10/25/00

Hi All,

I have a problem, I would like to create 2 differents Instances of
DB_SQL with 2 Differents
SGBD-R in same php source page.

The problem is that both classes (using Posgres or MySQL) have the same
name, providing both instanciations in the same script.
How can I substitude the include file when I use mysql and when I use
postgres so I can use both database in the same source ?

My (dirty) solution would be to rename both classes with different
names, eg DB_PGSQL or DB_MYSQL

:)

paHpa

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>