PHP code example of mdb-tools / mdb-parser

1. Go to this page and download the library: Download mdb-tools/mdb-parser library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mdb-tools / mdb-parser example snippets


use MDBTools\Facades\Parsers\MDBParser;

//load you file
$parser = MDBParser::loadFile('/path/to/file');

//see table names...
$tables = $parser->tables();

//parse data from one chosen table...
print_r($parser->selectTable('some_table')->toArray());