Available database driversat 2011-01-16 in Databases, Examples by friebe (0 comments) Here's how to find out which database drivers are available (keys) - and what classes they're implemented by (values):Console::writeLine(DriverManager::getInstance()->drivers);This will yield, depending on the PHP installation and configuration, something along the lines of: [ mysql => lang.XPClass<rdbms.mysql.MySQLConnection> pgsql => lang.XPClass<rdbms.pgsql.PostgreSQLConnection> sqlite => lang.XPClass<rdbms.sqlite.SQLiteConnection> ] |
|