Reputation: 186752
I'm dealing with a client who has a legacy cPanel account where the php installation was not compiled with PDO
nor Mysqli
therefore my Zend_Db code is useless since it relies on either of those.
What library/class should I go with?
Upvotes: 0
Views: 199
Reputation: 186752
Meh - I just made my own class mimicking the exact methods and functionality of Zend_Db so I don't have to reprogram a lot of the code.
Upvotes: 0
Reputation: 2581
Depends what you're trying to achieve, it's possible to extend Zend Frameworks Zend_Db and add a mysql adapter. If this is too much trouble there are two library's that are probably worth looking at, the first depends on PEAR being installed and is MDB2 the other is ADOdb both offer OO DB abstraction and work with the mysql extension.
Upvotes: 1