Should I use pdo or mysqli?



Should I use pdo or mysqli?..

Answer / Priya Raghuvanshi

Both PDO (PHP Data Objects) and MySQLi (MySQL Improved Extension) are methods for interacting with a MySQL database in PHP. It's recommended to use PDO as it supports multiple databases, provides better security, and is more future-proof.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

How do I copy a table in mysql workbench?

1 Answers  


What does mysql flush tables do?

1 Answers  


What is pragma serially_reusable and why is it used?

1 Answers  


How to use like conditions?

1 Answers  


How MySQL Optimizes DISTINCT?

1 Answers  


How can you handle the –secure-file-priv in mysql?

1 Answers  


How do I rename a table in mysql?

1 Answers  


What happens if you no create privilege in a database?

1 Answers  


How can we encrypt and decrypt a data presented in a table using mysql?

1 Answers  


How to create a trigger in mysql?

1 Answers  


what is the difference between between and in operators in mysql?

1 Answers  


How to extract a unit value from a date and time?

1 Answers  


Categories