3 ms·
MySQLi or PDO will not automatically solve almost any of the security issues found in this search.
by martinml 13y ago
MySQLi or PDO will not automatically solve almost any of the security issues found in this search.
- astrodust 13y agoUsing either of them correctly will. It is very easy to verify that a mysqli or PDO call is correct by looking at it. The same cannot be said for mysql_query.
- shakesbeard 13y ago90% of example code for PDO uses prepared statements. 90% of example code for the mysql_* functions is ancient and full of security holes.