Login   Register  
PHP Classes
elePHPant
Icontem

File: dumper_exp1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2010-03-09 00:43
Size: 540 bytes
 

Contents

Class file image Download
<?php
    
require_once("copyclass.php");
    
$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
    
$copier->copyAll();
?>