PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Tofeeq ur Rehman   MySQL DB Schema to XML and XML to Schema   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: MySQL DB Schema to XML and XML to Schema
Export and install a MySQL database schema to XML
Author: By
Last change:
Date: 15 years ago
Size: 656 bytes


Class file image Download
// to export schema in xml file

$obj_schema = new mysql_db_schema_2_xml("temp2",$db_conn);
//$obj_schema = new mysql_db_schema_2_xml("temp2",null,"localhost","root","");
    //provide full file path and flag to either download it to your local system

//to import the exported xml schema
$obj_schema = new mysql_db_xml_2_schema($xml_file,"temp2",$db_conn);
//$obj_schema = new mysql_db_xml_2_schema($xml_file,"temp2",null,"localhost","root","");
$log = $obj_schema->XML2Schema();