Ok, thinking about what would look nice...
a table with the 7 days in columns along the top and people's names going down the rows, but not being repeated over and over, just the 1/0 in the columns under the dates.
Now the 1 or 0 might get changed to images or something, up to you how it looks from there.
So, how to get this.
read each of the 7 days stats into multidimensional arrays and then, when all the data is collected and collatted you build your html table from the array. That way the data looks good.
does this help?