| 
<?phprequire 'object/form/formInput.php';
 require 'object/table/tableInfo.php';
 require 'object/table/tablePure.php';
 require 'object/compound/formTable.php';
 
 $tbl =new formTable();
 $tbl->label=array('satu','dua','tiga');
 
 //table property
 //set title of table
 $tbl->SetTitleTable('Hanya untuk latihan saja');
 //set titleSizeTable;
 $tbl->SetTitleSizeTable('+2');
 //set titleColorTable;
 $tbl->SetTitleColorTable('#FF00FF');
 //set alignTable;
 $tbl->SetAlignTable('center');
 //set colorBgTable;
 $tbl->SetColorBgTable('#CCFFFF');
 //set widthTable;
 $tbl->SetWidthTable('70%');
 //set heighTable;
 $tbl->SetHeighTable('80%');
 //set borderWidthTable;
 $tbl->SetBorderWidthTable('1');
 //set borderColorTable;
 $tbl->SetBorderColorTable('#000000');
 //set cellPaddingTable;
 $tbl->SetCellPaddingTable('2');
 //set cellSpacingTable;
 $tbl->SetCellSpacingTable('0');
 
 //property of Cols
 //set titleCols; depend of num cols
 $tbl->SetTitleCols(array('Nama','Jenis Kelamin'));
 //set colorTitleCols;
 $tbl->SetColorTitleCols('#99CC00');
 //set widthCols; depend of num cols
 $tbl->SetWidthCols(array('20%','15%'));
 //set numCols;
 
 
 //form property
 $tbl->GetForm->SetFormAction('$PHP_SELF');
 $tbl->GetForm->SetFormMethod('post');
 $tbl->GetForm->SetFormName('form1');
 $tbl->GetForm->SetFormTarget('_self');
 
 //form component property
 $tbl->GetForm->SetInputType('password');
 $tbl->GetForm->SetInputName('pswd');
 $tbl->SetInputForm();
 
 $tbl->GetForm->SetInputType('text');
 $tbl->GetForm->SetInputName('hello');
 $tbl->SetInputForm();
 
 $tbl->GetForm->SetInputType('radio');
 $tbl->GetForm->SetInputName('test');
 $tbl->SetInputForm();
 
 //depend of number title cols see->up
 print $tbl->FormTableCols(2);
 ?>
 
 |