Example #1
0
        <section>
            <h2>Basic Info</h2>
            <h3>Database</h3>
            <?php 
echo Debug::r($database);
?>
            <h3>Tables</h3>
            <?php 
echo $table->listing($tables);
?>
            <h3>Columns</h3>
            <?php 
foreach ($tables as $name) {
    echo "<h4>{$name}</h4>";
    $cols = $dbh->columns($name);
    echo $table->multi($cols);
    $tableInfo[$name] = new DBTable($name, $cols);
}
?>
        </section>
        <section>
            <h3>Parsed</h3>
            <?php 
echo Debug::s($tableInfo);
?>
        </section>
        <section>
            <h2>Debug</h2>
            <?php 
//                Debug::v($map);
Debug::s('time elapsed: ' . round(Debug::getEndTime(), 2) . 's');