Connect PHP to Access database error

A

adamskiii

I am having problems connecting my PHP to an Access database. Now me code
worked fine at school but when I try it at home I get this error:

Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b>
Microsoft OLE DB Provider for ODBC Drivers<br/><b>Description:</b>
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path.
Make sure that the path name is spelled correctly and that you are connected
to the server on which the file resides.' in C:\xampp\htdocs\parts.php:15
Stack trace: #0 C:\xampp\htdocs\parts.php(15):
com->Open('DRIVER={Microso...') #1 {main} thrown in C:\xampp\htdocs\parts.php
on line 15


Is there a way to resolve this? I access 2003 installed on my computer. Do I
need to download a driver for access? If so where can I find it?

Thank You
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top