} else { echo "Error has occured while drop table Setting</p>"; } //********************* // CREATE TABLE //********************* echo "<p>Creating table...</p>"; echo "<p>"; // Create Category table if (CCategoryManager::CreateTable()) { echo "Created <b>Category</b> table<br/>"; } else { echo "Error has occured while create table Category<br/>"; } // Create Detail table if (CRecordManager::CreateTable()) { echo "Created <b>Record</b> table<br/>"; } else { echo "Error has occured while create table Record<br/>"; } // Create Setting table if (CSettingManager::CreateTable()) { echo "Created <b>Setting</b> table<br/>"; } else { echo "Error has occured while create table Setting<br/>"; } echo "</p>"; echo "<p>Finish.</p>"; ?> </body>