We help IT Professionals succeed at work.

php - pdo - Access - Windows7 64 bits driver not found

Ok123
Ok123 asked
on
Hello i have the following line of code :
$cnx = new PDO('odbc:Driver={Microsoft Access Driver (*.mdb)} ; DBQ=C:\\wamp\www\mydb.mdb',"","");
The code works perfect wit windows7 32 bits but
impossible to do the same with win7 64 bits.
error message : driver not found ....
How may i connect an access database under win7 64 bits ?
Thank you
Comment
Watch Question

Looks like you don't have an ODBC driver on your system.  Try this link from Microsoft that tells you how to install the ODBC driver.  

Once it is installed, PHP should be able to connect to it.

http://answers.microsoft.com/en-us/office/forum/office_2007-excel/no-odbc-drivers-available-for-excel-or-access-in/001c234b-dfd5-4378-a325-c4f1482fb6fd