title: Retrieve catalog, metadata or schema information from MS Access database when connecting with PHP
body: <p>I am using following PHP code to connect to MS Access database:</p>
  
  <pre><code>$odb_conn = new COM("ADODB.Connection");
  $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". $db_path.";";
  $odb_conn-&gt;open($connstr);
  </code></pre>
  
  <p>How can I retrieve database catalog/metadata from the mdb file?</p>
  
  <p><strong>FOUND THE SOLUTION</strong></p>
  
  <pre><code>$rs_meta = $odb_conn-&gt;OpenSchema(20, array(Null, Null, Null, "TABLE"));
  </code></pre>