<?php
if (!empty($_GET['lms_student_id'])) {
 $lms_student_id_h = $_GET['lms_student_id'];
 $student_education_object = lms_student_education::find_by_studentId($lms_student_id_h);
} else {
 $lms_student_id_h = null;
 
}
if(empty($student_education_object)){
 $student_education_object = [new lms_student_education()];
}

$pageno = !empty($_GET['pageno']) ? $_GET['pageno'] : 1;
$per_page = !empty($_GET['per_page']) ? $_GET['per_page'] : 10;
$total_count = count($student_education_object);
$pagination = new pagination($pageno, $per_page, $total_count);
$pagination->setProperty('_path', 'form');
$position = ($pageno - 1) * $per_page;

?>