<?php
// includes go here include_once('DBSchema.inc'); // require once goes here // post arguments go here // passed arguments go here // page colors go here // functions go here // main routine goes here
?>
<html> <head> <title>Database Schema</title> </head> <body> <table width='100%' height='100%' align='center' valign='middle' bgcolor='black' bordercolor='yellow' border='2' cellpadding='0' cellspacing='0'> <tr> <td> <?php $dbschemaclass=new DBSchema('localhost','p221','p221'); // create a new class (also calls the class constructor) $dbschemaclass->SetImages('database.gif', 'table.gif', 'field.gif'); // set the paths to the images to use in the output $dbschemaclass->SetFontColors('lime','yellow','white'); // sets the font colors to use $dbschemaclass->SetFontSize('+2','+1',''); // set the font size to use $dbschemaclass->SetCellBackground('black','black','black'); $dbschemaclass->GetSchema(); // get the schema now ?> </td> </tr> </table </body> </html>
|