Subject Re: Current firebird_pdo status?
Author xdenser
--- In, Matthias Hanft <mh@...> wrote:
> PHP code as
> switch ($dbType) {
> case FIREBIRD: ibase_connect...
> case MYSQL: mysql_connect...
> }

make abstract class or interface and make two different classes realising that interface for firebird and MySQL
so you will need only one switch to decide wich class to use for db connectivity