<thead> <tr style="background:#ececec"> <th>Photo</th> <th>Full Name</th> <th>Pocket ID</th> <th>Grade</th> <th>Section</th> <th></th> </tr> </thead> <tbody> <?php require_once 'private/LMS_Engine.php'; $engine = new LMS_Engine(); // if(isset($_POST['Search_Items'])) { $founds = $engine->search_Student($hint, $grade, $section); // }else { // $founds = $engine->search_Student(null,null,null); // } $founds = array_reverse($founds, null); $total = count($founds); $size = 10; $start = $page_num * $size; $i = 0; $disp = 0; foreach ($founds as $found) { if ($start > $i) { $i++; continue; } elseif ($i < $start + 10) { include 'pages/elements/Students_Table_Items.php';