PHP Classes

File: Sample.php

Recommend this page to a friend!
  Classes of Tom Schaefer   MySQL Workbench Schema Converter   Sample.php   Download  
File: Sample.php
Role: Example script
Content type: text/plain
Description: as the name says
Class: MySQL Workbench Schema Converter
Convert database schemata from MySQL Workbench
Author: By
Last change: some hints
Date: 12 years ago
Size: 449 bytes
 

Contents

Class file image Download
<?php

include_once 'MySQLWorkbenchXML.class.php';
include_once
'MySQLWorkbench.class.php';

// Download my sample mwb-file from http://www.query4u.de/showcase/tests/Workbench/user.mwb
// or create your own sample by using mysql workbench.
// The mwb-file is not part of this sample, because phpclasses does allow to upload mwb-files.


$user = new MySQLWorkbench("user", dirname(__FILE__));
$user->run();

echo
$user->render();
die();