Important tableInfo() Changes
- Finalized move to the DB_common class.
- Added to Sybase and Informix.
Examine a table by passing a table name:
<?php
$info = $db->tableInfo('tablename');
print_r($info);
?>
Probe a query result by passing a DB_result object:
<?php
$result =& $db->query('SELECT * FROM tablename');
$info = $db->tableInfo($result);
print_r($info);
?>