PHP Accessing an Access Database

  • 18 years ago

    I would be very grateful to anyone who could assist me with accessing a Microsoft Access Database (*.mdb) from a PHP in the same way that you do from ASPs.


    Thanks in advance and God bless you


  • 18 years ago

    Try using an ODBC connection, set up through Admin Tools \ Data Sources (ODBC). Then you can just use the appropriate PHP odbc commands.


    (check out http://www.php.net/manual/en/ref.odbc.php)

  • 18 years ago

    if you're gonna use odbc, you must remember to set up the database as a system source and not a user source.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match” - Bill Bryson