Jump to content

PHP connect to Access?


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...