templates/admin/getBedHistoryContent.html
<h3>Previous Assignments</h3>
<table class="table table-striped table-responsive">
<tr>
<th>Student</th>
<th>Banner ID</th>
<th>Assigned On</th>
<th>Removed On</th>
</tr>
<?php if(!empty($rows)): foreach ($rows as $row): extract($row); ?>
<tr>
<td><?=$student?></td>
<td><?=$banner_id?></td>
<td><?=$assigned_on_date?></td>
<td><?=$removed_on_date?></td>
</tr>
<?php endforeach; endif;?>
</table>
<?=$message?>