Example #1
0
            margin: 50px auto;
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <h1>Database Analyse</h1>
        <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);
Example #2
0
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <h1>Database Class Tests</h1>
        <section>
            <h2>Value</h2>
            <?php 
echo Debug::r($value);
?>
        </section>
        <section>
            <h2>Item</h2>
            <?php 
echo $table->listing($item);
?>
        </section>
        <section>
            <h2>Listing</h2>
            <?php 
echo $table->listing($listing);
?>
        </section>
        <section>
            <h2>Map</h2>
            <?php 
echo $table->basic($map, ['class' => 'table']);
?>
        </section>
        <section>