PHP Mysqli-to-pdo Resources