Switch from db.php to pdo.php