Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
سؤال تثقيفي فقط . ;) .
MySQLi is a replacement for the mysql functions, with object-oriented and procedural versions, It has support for prepared statements.
PDO has been introduced in PHP, and the project aims to make a common API for all the databases access, so in theory you should be able to migrate between RDMS without changing any code (if you don't use specific RDBM function in your queries), also object-oriented.
Mysqli is improved and updated version of mysql, mysql have more security then mysql, PDO is PHP data object. Php community has been depreciating many interface which used to function for mysql for example mysql_connect.
Mysqli have many object oriented feature you cannot perform any database functions using the PDO extension by itself; you must use a database-specific PDO driver to access a database server.
PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features.
Infact you should add 'in php' in your question, 'MySQL' is a rational database system whereas MySQL, mysqli & PDO are the terms used in php for collection of functions & objects to handle database queries in your program.
Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?