3 ms·
mysql_query is deprecated... use MySQLi or PDO
by marizcombinator 13y ago
mysql_query is deprecated... use MySQLi or PDO
- martinml 13y agoMySQLi 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.