PHP Classes

File: examples/optimize.php

Recommend this page to a friend!
  Classes of Mohamed Elbahja   MySQLi Manager   examples/optimize.php   Download  
File: examples/optimize.php
Role: Example script
Content type: text/plain
Description: Example script
Class: MySQLi Manager
Execute MySQL queries from parameters using MySQLi
Author: By
Last change: Update optimize.php
Date: 8 years ago
Size: 205 bytes
 

Contents

Class file image Download
<?php

require 'db_config.php';

/* Connect DB */
$db->conn();

if (
$db->optimize_table('tableName')) {

   
// true

}


// optimize all tables

if ($db->optimize_db()) {

   
// true

}



$db->close();


?>