FormClasses/table2.php
2024-06-14 15:55:36 +03:00

23 lines
439 B
PHP

<?php
use src\debug\Debug;
require_once "vendor/autoload.php";
$json = file_get_contents(__DIR__ . '/vendor/itguild/tables/simple.json');
$json2 = file_get_contents(__DIR__ . '/mySimple.json');
$table = new \Itguild\Tables\ListJsonTable($json);
$table2 = new \Itguild\Tables\ListJsonTable($json2);
$table->create();
$table->render();
$table2->create();
$table2->render();
//$table->beginTable();
/*echo "<pre>";
print_r($table);*/