Page 1 of 1

PDO or mysqli. which one to choose.

Posted: Mon Apr 03, 2006 1:39 am
by jmut
Hi,
I have been using PEAR::DB for quite some time but I think it is time to think of something else.
PEAR::DB is no more supported, it is slow etc etc.

I use generally mysql DB using PHP5.

I see both PDO and mysqli are C implemetented and think it is better to consider them. I see PDO
is kind of buggy yet and I am stuck on mysqli now.
What is your pros cons over using one instead of the other. Maybe some other solution?

Posted: Mon Apr 03, 2006 1:55 am
by Christopher
Both are fine, and neither would be a bad choice. PDO seems to be where PHP is heading, and it does give you a standard interface to, for example, MySQL and SQLite which you might use together.