Microsoft Access Database (MDB) from PHP
This code demonstrates how to access a Microsoft Access Database (MDB) from PHP. Here I used PHP 5 for testing.
< ?_php
/* This example shows how to open and do operations on a Microsoft Access Database using PHP odbc functions */
$db_connection = odbc_connect(”DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=E:rootphpDataBase.mdb”, “ADODB.Connection”, “password”, “SQL_CUR_USE_ODBC”);
echo ”
Show all tables
“;
$result = odbc_tables($db_connection);
while (odbc_fetch_row($result)) [...]












