Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to connect to a microsoft access database that was given to me by using PHP. I would rather not use ODBC drivers to connect but I haven't been able to find a way to connect to the database otherwise.

Any ideas?
Only requirements are that it needs to be able to read and write from the database and that it has to be done through php. NO ODBC.
Posted
Comments
PIEBALDconsult 24-Jan-16 14:33pm    
You should probably be using OleDb classes.
https://msdn.microsoft.com/en-us/library/system.data.oledb.oledbconnection(v=vs.110).aspx

1 solution

Your only other option is OleDb, using either the ACE or JET engines depending on the version of the Access database you're trying to get at.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 24-Jan-16 16:04pm    
Sure, a 5.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900