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