title: Firebird:How to show table structure in html page?
body: <p>I try to use the code below to show table structure in html page:</p>
  
  <pre><code>&lt;HTML&gt;
  &lt;HEAD&gt;
  &lt;TITLE&gt;PHP + Firebird / Interbase test (connection)&lt;/TITLE&gt;
  &lt;/HEAD&gt;
  &lt;BODY&gt;
  &lt;H3&gt;FB Connect test.&lt;/H3&gt;
  &lt;?php
  // DB definition of account
  define("DBNAME","xx.xxx.xx.xxx:D:\DATABASE\OCS DATA.FDB"); // data bsse name
  define("DBUSER","USER"); // user name
  define("DBPASS","USER"); // password
  
  // DB connection
  $dbh = ibase_connect(DBNAME,DBUSER,DBPASS);
  echo ibase_errmsg();
  if ($dbh == FALSE) {
  echo 'could not connect to DB&lt;BR&gt;';
  } else {
  echo 'success to connect to DB&lt;BR&gt;';
  }
  $ibsql = "SHOW TABLE DOC_TO";
  echo ibase_errmsg();
  $result=ibase_query($ibsql);
  echo $result;
  ?&gt;
  
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>but why it just show the result as "success to connect to DB"?</p>