3 ms·
When I last worked with PHP, I used PDO because it mostly worked like Perl DBI. I agree that it beat using the old mysql interface in SQL-injection mode, but it
by cafard 6y ago
When I last worked with PHP, I used PDO because it mostly worked like Perl DBI. I agree that it beat using the old mysql interface in SQL-injection mode, but it was by no means a revelation. The Perl DBI has been around since the 1990s: O'Reilly's Programming the Perl DBI came out in 2000.