PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Daniel Afonso Heisler   sql2dia   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: sql2dia
This class creates a diagram from your sql file.
Author: By
Last change:
Date: 20 years ago
Size: 467 bytes


Class file image Download


$array = array(
"table1" => array( "id" => "int",
"text" => "varchar(240)",
"description" => "text"
"table2" => array( "id" => "int",
"date" => "date",
"visible" => "bool",
"value" => "float",
"obs" => "text"

$object = new sql2dia;
$object->Generate($array, 'file.dia');