+ 3

Different between mysqli_connect and mysql_connect in php

db connection

9th Mar 2017, 4:24 PM
Raji Abdulafeez Okikiola
Raji Abdulafeez Okikiola - avatar
2 Respostas
+ 4
mySqli and PDO are safer methods for database acces, from a security point of view. Input shold be filtered and validated before sending data to the db to avoid the possibility of SQL injection.
9th Mar 2017, 5:24 PM
seamiki
seamiki - avatar
+ 1
mysqli means improved version of mysql so always use improved
10th Mar 2017, 8:13 AM
Amir