Location: PHPKode > projects > phpBlogger > admin/optimize.php
<?php
##############################
# adsense.php    version 1.1.#
##############################
include ('header.php');
?>
<div id="headermenu">Optimize Tables</div>
<?php 
if(isset($_POST['submit'])) {
$query = 'analyze TABLE  `abcoption` ,  `banip` ,  `catags` ,  `comment` ,  `cpadmin` ,  `helptopics` ,  `reviews` ,  `users` ,  `userson`';
            $result =&$conn->Execute($query);
            print_r("<pre>".$result."<pre>");
            echo "<br /><br />All database tables successfully optimized!";
}else{
?>
<form method="post" action="optimize.php">
<input type="submit" class="topicbuton" name="submit" value="Optimize" /><br /><br />
</form>
<?php
}
$conn->Close();
?>
</div></div></div>
<?php include ('footer.php'); ?>
Return current item: phpBlogger