From 84c65deb495e84cebdac6a665bbc2b5cc7dc58be Mon Sep 17 00:00:00 2001 From: Alessandro Ferro <49845537+xfarrow@users.noreply.github.com> Date: Wed, 23 Feb 2022 18:22:52 +0100 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9cc88b3..021aea2 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ # phpxpress The following code ``` - $employees = array($employee1,$employee2,$employee3); +$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(); +$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 -Demo \ No newline at end of file +Demo