PDO vs MySQLi

  • Thread starter Thread starter D
  • Start date Start date

D

Madly Diligent
Joined
Oct 29, 2010
Messages
6,862
Reaction score
145
FP$
1,418
Which one do you use?

I currently use MySQLi with prepared statements.
 
Unfortunately, the asynchronous queries in MySQLi don't support prepared statements. It would be very nice, if they added this feature. PDO doesn't support asynchronous queries at all.
 
I also use PDO. It was a pretty arbitrary choice, as I noticed that the old MySQL extension is now being phased out. I guess it does the job, though. Pretty straight forward. I've used MySQLi before too and didn't have any issues with it.

Does anyone know which extension is generally supported on the most servers?
 
Back
Top Bottom