Showing posts with label mysqli. Show all posts
Showing posts with label mysqli. Show all posts

Sunday, June 23, 2013

PDO vs MYSQLI

PDO MySQLi

Database support 12 different drivers MySQL only
API OOP OOP + procedural
Connection Easy Easy
Named parameters Yes No
Object mapping Yes Yes
Prepared statements
(client side) Yes No
Performance Fast Fast
Stored procedures Yes Yes

Database Support

PDO:

CUBIRD, mysql server, firebird/interbase, ibm, informix, mysql, oracle, odbc, db2, postgresql, sqlite, 4d

mysqli:

mysql