<?php $db = mdb_open("test.mdb"); foreach (mdb_tables($db) as $name) { echo "{$name}:\n"; $tab = mdb_table_open($db, $name); print_r(mdb_table_indexes($tab)); mdb_table_close($tab); echo "\n\n"; } mdb_close($db);
<?php dl("mdbtools.so"); $db = mdb_open("test.mdb"); $tables = mdb_tables($db, true); foreach ($tables as $name) { echo "{$name}:\n"; $tab = mdb_table_open($db, $name); $fields = mdb_table_fields($tab); print_r($fields); mdb_table_close($tab); echo "\n\n"; } mdb_close($db);