mirror of https://github.com/xfarrow/phpxpress.git
cca8b678d5 | ||
---|---|---|
phpxpress | ||
README.md |
README.md
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