I\'m struggling with a php reporting scenario. I have a table of data that I need to transpose the rows to columns and display them in separate html tables grouped by dates.