<?php include '../config/include_global.php'; $core_class = array("db" => "core", "scaffold" => "core"); $call = new load(); $cl = $call->load_class($core_class); $db = new db(); $db->connect(); $cls = new scaffold(); $result = $cls->get_table_list("", true, true); echo '<pre>'; print_r($result); echo '</pre>';
</div> </div> <div id="container"> <div id="body"> <h1>Scaffold version 1.0: Generate a MVC file</h1> <div class="successm"><?php echo $success_text; ?> </div> <div class="errorm"><?php echo $error_text; ?> </div> <?php //Get table list $scaffold_tables = $scaffold->get_table_list("", true, false); if ($scaffold_tables) { ?> <form action="createfile.php" method="POST"> <p>1. Select a Table</p> <p> <select name="scaffold_table"> <?php $sc_count = count($scaffold_tables['tables']); for ($i = 0; $i < $sc_count; $i++) { ?> <option value="<?php echo $scaffold_tables['tables'][$i]['table_name']; ?> "><?php echo $scaffold_tables['tables'][$i]['table_name'];