<?php require_once 'eTable.php'; $table = new ETable(); $results = $table->get_all_tables(); //die(json_encode($results)); ?> <ul> <?php foreach ($results as $table => $cfg) { ?> <li><a href="?t=<?php echo $table; ?> "><?php echo $table; ?> </a></li> <?php } ?> </ul>