<th style="width:90px;">STUDENT NAME</th>
								  
							  </tr>
						  </thead>
							
						  <tbody>
						  	
						  	<?php 
    //fetch records....
    $students = $objStudent->fetchStudentAsPerStandard($_POST['standard']);
    $isDatePresent = $objStudent->checkDate($_POST['currentdate']);
    $allPresentStud = '';
    $counterForOldDate = 0;
    while ($stud = mysqli_fetch_assoc($students)) {
        if ($isDatePresent > 0) {
            $allPresentStud = $objStudent->getAllPredentStudentOn($_POST['currentdate']);
            $counterForOldDate = mysqli_num_rows($allPresentStud);
        }
        ?>

						  	 <!-- select checkbox -->
							<tr>

									<?php 
        $found = false;
        if ($counterForOldDate > 0) {
            while ($oldPresent = mysqli_fetch_assoc($allPresentStud)) {
                if ($stud['nGRNO'] == $oldPresent['nGRNO']) {
                    $found = true;
                    break;
                }