Recommend this page to a friend! |
Classes of Nahid Bin Azhar | Eazy PHP HTML Table Generator | README.md | Download |
|
Downloadeazy-tableA PHP library for making a table How to useEazy Table is too easy to use. Its a basic PHP table maker library. to use it at first you have to include table.php file in your desire place
after including the file you have to initialize the class
Then you are ready to use it. For making html table you have to use make() method > make($data[, $config]) > - $data - is an array. and it contain two values header and data. header and data are the key of the values. Its fixed naming so you can not change the key name. - $config - is an array and its optional. If you want to change table attribute then you can define from it. Now We define all data to the $data variable
and for the change table attributes we assign values in $conf array
and finally we make the table by using
after using it, its look like this thats it Thank you :) |