PHP code example of pbk83 / csimpletable

1. Go to this page and download the library: Download pbk83/csimpletable 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/ */

    

pbk83 / csimpletable example snippets


$di->set('SimpleTable', function() use ($di) {
    $table = new pbk83\SimpleTable\CSimpleTable();    
    return $table;
});

addHeadings([’Name’, ’Age’]);

addRow([’Joe’, ’43’]);
addRow([’Jane’, ’45’]);