<?php
$filename = 'D:\Codes\Databases\Access\test.accdb';
$dbh = new PDO("odbc:driver={microsoft access driver (*.mdb, *.accdb)};dbq=$filename");
$sql = 'SELECT * FROM Items';
$stmt = $dbh->prepare($sql);
$stmt->execute();
foreach ($stmt as $row) {
print_r($row);
echo '<br>';
}