added readme

This commit is contained in:
Alessandro Ferro 2022-02-23 14:55:53 +01:00
parent 55eb3ce764
commit a7e5672d65
2 changed files with 16 additions and 0 deletions

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# phpxpress
The following code
```
$employees = array($employee1,$employee2,$employee3);
$table = new Table;
$table->setDataSource($employees);
$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number"));
$table->setStripedRows(true);
$table->setBordered(true);
$table->setHoverAnimation(true);
$table->draw();
```
Produces the following output
<img src="/phpxpress/examples/demoTable.jpg" alt="Demo">

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB