              <p style="font-weight:bold;color:red;font-size: 18px;">Overdue Medications Due</p> 
              <?php 
              foreach($overduemedications as $animal) { ?>
              <p style="width:100%;">
              <?=$animal['name']?> - <?=$animal['chart_num']?><br/>
              Medication <?=$animal['medication_name']?> due on <?=$animal['date_due']?></br>
              <a href="<?php echo site_url('displayanimal').'/'.$animal['chart_num'] ?>">View Details</a>
              </p>
            <?php
              } ?>
              <?php } ?>