Jump to content

PHP connect to Access?


Callum

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...