<?php
if (count($data) > 0) {
    foreach ($data as $val) {
        ?>
<tr>
    <td><?php echo date('d-m-Y H:i:s',strtotime($val['time'])); ?></td>
    <td><?php echo $val['status']; ?></td>
    <td><?php echo $val['message']; ?></td>
</tr>
<?php

    }
} else {
    ?>
<tr>
    <td colspan="3">No Record Found</td>
</tr>
<?php } ?>