+ 1
Which is better in pdo and mysqli connection
Pdo mysqli
2 Answers
+ 1
They both have their advantages and disadvantages. MySQLi is faster but pdo will work on 12 different database systems, but MySQLi also offers a procedural API.
There are other advantages and disadvantages as well.
Here are some listed by w3schools
https://www.w3schools.com/php/php_mysql_connect.asp
0
I gess pdo is better