echo "<p>Drop table User if exist<br/>"; if (UserManager::DropTable()) { echo "Table User is droped</p>"; } else { echo "Error has occured while drop table User</p>"; } // Drop Xclam table echo "<p>Drop table Xclam if exist<br/>"; if (XclamManager::DropTable()) { echo "Table Xclam is droped</p>"; } else { echo "Error has occured while drop table Xclam</p>"; } // Drop Comment table echo "<p>Drop table Comment if exist<br/>"; if (CommentManager::DropTable()) { echo "Table Comment is droped</p>"; } else { echo "Error has occured while drop table Comment</p>"; } //********************* // CREATE TABLE //********************* echo "<p>Creating table...</p>"; echo "<p>"; // Create User table if (UserManager::CreateTable()) { echo "Created <b>User</b> table<br/>"; } else { echo "Error has occured while create table User<br/>"; }