One of the many things that we usually do when creating a webpage is designing tables.

I created a simple php function (to be added to my Utils class), that receives a style name, one array of elements (for the header) and one array of elements (for the body of the table). This way, instead of having to write the table all the time you need one, you just need to invoke the function.

You can download the files included on the rar, decompress it and use it. There is a css file, the main Utils.php file and the test.php file. Fell free to ask any questions you may have, or give any tips for improvements.

Utils class file