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: 7 years ago
Size: 205 bytes


Class file image Download

require 'db_config.php';

/* Connect DB */

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

// true


// optimize all tables

if ($db->optimize_db()) {

// true