PHP Classes

File: demo.php

Recommend this page to a friend!
  Classes of very shafrudin  >  mysql.export  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: use of class
Class: mysql.export
Export MySQL database to ZIP files
Author: By
Last change: upload file into list
Date: 6 years ago
Size: 967 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>export_mysql class</title>

  Testing Page For export_mysql Class</h2>
$e = new export_mysql('localhost', 'root', 'very', 'smsgateway');//instance class
$e->exportAll('all.sql',true);//export all (structure and value) and zipped
echo("Export All (structure and value) and compress to <br />");
$e->exportStructure('structure.sql',true);//export only structure and zipped
echo("Export structure and compress to <br />");
$e->exportValue('value.sql',true);//export value and zipped
echo("Export value)and compress to <br />");