PHP Classes

File: dumper_exp1.php

Recommend this page to a friend!
  Classes of waqas khan kakar  >  Database Copier  >  dumper_exp1.php  >  Download  
File: dumper_exp1.php
Role: Example script
Content type: text/plain
Description: example work
Class: Database Copier
Copy tables between MySQL databases
Author: By
Last change:
Date: 6 years ago
Size: 540 bytes


Class file image Download
$copier = new Mysqlcopy();
// database one from which we have to copy the data
    // $copier->dbconnection1("host", "user", "password", "database", "delete table if exists or not");
$copier1 = $copier->dbconnection1("localhost", "root", "", "joomla", true);
// database where we have to copy the data
    // $copier->dbconnection1("host", "user", "password", "database");
$copier2 = $copier->dbconnection2("localhost", "root", "", "exp");
// data coppier function