I know you can set every nth row or cell of a table to have certain attributes in a for Loop
if($ib % 7){
echo '<td>'.$ib.'</td>';
}
else{
echo '<td bgcolor="005082"></td>';
}
But can you do the same for the next row aswell. In other words can I set every 7th and 8th table cell next to each other to have the same colour? I'm building a calendar and want to highlight the weekend.