meder omuraliev
meder omuraliev

Reputation: 186752

What native mysql class should I port to from Zend_Db? ( No PDO or Mysqli )

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

Answers (3)

meleyal
meleyal

Reputation: 33320

Upvotes: 0

meder omuraliev
meder omuraliev

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

RMcLeod
RMcLeod

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

Related Questions