Ejemplo n.º 1
0
								  	<input type="checkbox" name="selectAll" value="all" onchange=" checkAll('checkAllForm');" /> SELECT
								  </th>
								  

								  <th style="width:10px;">GRNO</th>
								  <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) {