+ 1

Which is better in pdo and mysqli connection

Pdo mysqli

19th Feb 2020, 1:16 AM
Ayebidun Ezekiel Oluwaseyi
Ayebidun Ezekiel Oluwaseyi - avatar
2 ответов
+ 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
19th Feb 2020, 1:56 AM
BroFar
BroFar - avatar
0
I gess pdo is better
19th Feb 2020, 1:17 AM
Ayebidun Ezekiel Oluwaseyi
Ayebidun Ezekiel Oluwaseyi - avatar