+ 2

What is the different between mysql_connect & mysqli_connect in PHP DB connection?

11th Mar 2020, 9:20 AM
Dinesh Sharma
Dinesh Sharma - avatar
3 Answers
+ 2
both have saem usage. but mysql_ is the old interface, its removed since php7 i believe.
11th Mar 2020, 9:25 AM
Taste
Taste - avatar
+ 1
I am also confused in MySQL , MySQLI , PDO, and there are two veriety of MySQLI and PDO
11th Mar 2020, 10:25 AM
Lola
Lola - avatar
+ 1
mysqli_connect it is a improved function of mysql_connect and it is a recommanded to use
11th Mar 2020, 7:02 PM
Mukhtaar Aziz
Mukhtaar Aziz - avatar