1<?php
2// Location to file
3$db = 'F:\localhost\htdocs\msaccess\trinitytuts.accdb';
4if(!file_exists($db)){
5 die('Error finding access database');
6}
7// Connection to ms access
8$conn = new PDO("odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=".$db.";Uid=; Pwd=;");