PHP code example of xzero707 / html-tables-manager

1. Go to this page and download the library: Download xzero707/html-tables-manager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

xzero707 / html-tables-manager example snippets


$table->setOption('class', 'example_table');
$table->setOption('id', 'example_table');
$table->setOption('CODE', "border='1'");
$table->create();
$table->header(array("Header #1", "Header #2", "Header #3"));
$table->row(array("Foo", "Bar", "Foobar"));
$table->row(array("Foo #2", "Bar #2", "Foobar #2"));
$table->footer(array("", "Foobar", ""));
$table->close();

echo implode("", $table->output); // Finaly flush output