Jump to content

PHP connect to Access?


Callum
 Share

Recommended Posts

Is it possible to connect a Microsoft Access database to your website using php?I know it can be done using asp, but just wondering if you could do it with PHP 5. If so can you use post to get data from the user into the precreated database.EDIT: aslo if it was possible would I store the database file on the host :S or my pc? (unclear on how it works)Callum

Link to comment
Share on other sites

You'd store on the server OR on your computer, and let PHP connect to it. It's a little more complex if you need the DB to be on your computer instead of the server, but it's still possible.You can use PHP's ODBC functions to connect to an access DB, or you can use PDO, but the latter is more difficult to set up and get the grips with, so I suggest you try ODBC first.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...