ADOdb: How to show fields
Now, I will show you simple code that can show all fields in a table and their meta data. Just using MetaColumns().
<?php
include('adodb/adodb.inc.php');
$db = ADONewConnection('mysql');
$db->debug = true;
$db->Connect('localhost', 'root', 'admin', 'scanner');
$arr = $db->MetaColumns('name_table');
echo "<pre>";
print_r($arr);
echo "</pre>";
?>
