+ 3
Different between mysqli_connect and mysql_connect in php
db connection
2 Answers
+ 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.
+ 1
mysqli means improved version of mysql so always use improved