pgh06 Posted January 24, 2013 Share Posted January 24, 2013 I need some help with code. I am trying to access a database in MS Access and need help with the connection and execution code to insert the query I have made. //let's run the query $mdbFilename = realpath("C:/My Documents/International.accdb"); $connection = odbc_connect("Driver={Microsoft Access Driver (*.mdb)};Dbq=$mdbFilename", '', ''); $rResult = odbc_prepare($rConnection,$insert_query); Is this right? The name of the database is called international, and the table name is called international students Quote Link to comment https://forums.phpfreaks.com/topic/273568-ms-access-database-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.