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