load->model('Admin_model'); $query = "SELECT n.* from notifications n inner join teacher t on n.teacher_id = t.id where (t.id = '" . $_SESSION['teacher_id'] . "' AND n.notification_read = 'No') ORDER BY notification_id DESC LIMIT 5"; $result = $CI->Admin_model->get_notification_details('', $query); ?> <?= $school_info['school_name']; ?>

Notifications

    $value) { ?>
  • There no new notifications

    "; } ?>