Forcing line break in repeating region
I've got a table that's displaying some data from a query in PHP that I made using a simple Recordset and Repeat Region behavior. I would really like to be able to break the table up (add blank row) each time a certain field changes values. My code (or the code DW gave me) is as follows.
<?php do { ?>
<tr bgcolor="#809E7C" class="reg_dataview_data">
<td> </td>
<td><?php echo $row_rs_Sum09['ChildFirst']; ?></td>
<td><?php echo $row_rs_Sum09['ChildAge']; ?></td>
<td><?php echo $row_rs_Sum09['ChildSex']; ?></td>
<td><?php echo $row_rs_Sum09['Session']; ?></td>
<td><?php echo $row_rs_Sum09['Status']; ?></td>
<td><?php echo $row_rs_Sum09['Quarter']; ?></td>
</tr>
<?php } while ($row_rs_Sum09 = mysql_fetch_assoc($rs_Sum09)); ?>
I'd like for the table to break at change in value of Session.
Any tips would be greatly appreciated.
Steve
