My script is below. I want to add a page break when a new employee comes about. I cannot do a simple count loop because the rows will vary by person since the variable name changes I do not know how to do this. Any help would be appreciate it.
Test 3rd Party<br />
<br />
*
<table border="1" cellpadding="5" cellspacing="0">
<tbody>
<tr>
<th>Assignment</th>
<th>Employee Name</th>
<th>Discipline</th>
<th>Date</th>
<th>Start</th>
<th>End</th>
<th>Hours</th>
<th>Time Off</th>
</tr>
<tr>
<td>{tablerow from=$_rows item=_row}{$costcentersfullpath}</td>
<td>*{$_row.name}</td>
<td>{$_row.discipline}</td>
<td>{$_row.date}</td>
<td>{$_row.start}</td>
<td>{$_row.end}</td>
<td>{$_row.hours}</td>
<td>{$_row.TimeOffName}{/tablerow}</td>
</tr>
</tbody>
</table>
*<br />
<br />
*