Yii v2 snippet guide III

Comparing #99 with #100

Revision #100 was created by rackycz rackycz on Aug 14, 2022, 7:45:33 PM.

Microsoft Access MDB

Content

[...]
$data = Yii::$app->db->createCommand("SELECT * FROM TableX")->queryAll();
var_dump($data);
```

Note: If you already have MS Access installed in different bit-version then your PHP, you will not be able to install the engine in the correct bit-version. You must uninstall MS Access in that case.

 
Note2: If you do not know what your MDB file contains, Google Docs recommended me [MDB, ACCDB Viewer and Reader](https://mdbviewer.herokuapp.com) and it worked.