Which is best pdo or mysqli?



Which is best pdo or mysqli?..

Answer / Kalyan Kumar Yadav

Both PHP Data Objects (PDO) and MySQLi are excellent choices for interacting with databases in PHP. PDO provides a database-neutral interface, while MySQLi is specific to MySQL. The choice between the two often comes down to personal preference and the specific requirements of your project. However, many developers prefer PDO due to its database abstraction and improved security features.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

Query to select passwords from a table having a column "Password" Whose length is b/w 8 &15 and having 'A' as the first character in the password irrespective of case.

3 Answers  


What is a text delimiter?

1 Answers  


maximum size of a database in mysql?

2 Answers  


What is the difference between a Table and a View?

3 Answers  


What is the difference between char and varchar data types?

6 Answers  


If we create a column with data type VARCHAR(3), what would we expect to see in MySQL table?

2 Answers   ABC,


How to use regular expression in pattern match conditions?

1 Answers  


Explain the difference between MyISAM Static and MyISAM Dynamic?

1 Answers  


How do I create a database in mysql workbench?

1 Answers  


What is mysqlcheck do?

1 Answers  


How do I find mysql version in mysql workbench?

1 Answers  


What is mysql enterprise edition?

1 Answers  


Categories