Is it possible to let the user select the best option (from their point of view) for a query language? For example, when I run this: $class->fetch(query); I would like it to use MySQL functions if the user chose MySQL, PDO if the user chose PDO, etc.
Is it possible to let the user select the best option (from their point
Share
Zend_Db (from the Zend Framework) does what you want.
http://framework.zend.com/manual/en/zend.db.html
As always with the ZF, you don’t need the entire Framework for a single module. 🙂