PDO vs. MySQLi: Which Should You Use?
Thinking about moving away from the native mysql wrappers in PHP? There are many reasons why you should, security being one of the top ones, but which alternative should you choose?
This article shows you code examples of PDO and mysqli (in both procedural and OO modes) and once you get the gist of it transitioning from mysql doesn’t seem daunting at all.
Now all I need to do is convince our technical director to move from mysqli to PDO and my work here is done!