I wish to display attendance in a table where the dates are horizontally on top and Names verticalyy on left. Sof far is simple. But what i am not able to do is (for printing purposes) mark Sundays or Holidays so that the word is shown across the column. For display purposes, i am showing in different colour. We have only a b/w printer and greying it would wate a lot of ink
This is not an especially elegant solution, but you could do it with PHP code to build an HTML table. First build the header row with the days. Then code a couple of loops, the outer loop for the rows in the table (one for each name), and the inner loop for the days, creating one <td> cell for each attendee containing "P" or "A" or whatever you desire.
I won't give you all the code, but when the day is Sunday or a Holiday, you will need to create only one <td> at the first attendee row, like this: