Login   Register  
PHP Classes
elePHPant
Icontem

File: DBackup_example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of army.hidden  >  DBackup  >  DBackup_example.php  >  Download  
File: DBackup_example.php
Role: Example script
Content type: text/plain
Description: DBackup_example.php
Class: DBackup
Generate MySQL database backup with SQL statements
Author: By
Last change: Restructuring
Date: 3 years ago
Size: 245 bytes
 

Contents

Class file image Download
<?php
    
include 'DBackup.Class.php';
    
$Tabls=array('Table1','Table2','Table3');
    
$DBackup = New DBackup('localhost','root','','dbname',/*,$Tables*/);
    if(
$DBackup -> DBackup_Start())
        echo 
'Backup Was Created';
    else
        echo 
'Error';
?>