<h5>Academic Year :</h5>
								</div>
							   <div class="col-md-10">
							   	  <h5><a><?php 
echo $sy->AY;
?>
</a></h5>
								</div>
								
							  </div>
							</div>
						  </div>

				</fieldset>
				<?php 
$details = new Student_details();
$det = $details->secondary_details($_GET['id']);
?>
				 <fieldset>
						<legend>Secondary details</legend>
						  <div class="form-inline">
							<div class="rows">
							  <div class="col-md-12">
								<div class="col-md-2" id="Networks">
								   <h5>Father :</h5>
								</div>
							   <div class="col-md-10">
							   	  <h5><a><?php 
echo $det->FATHER;
?>
</a></h5>
function doDelete()
{
    @($id = $_POST['selector']);
    $key = count($id);
    //multi delete using checkbox as a selector
    for ($i = 0; $i < $key; $i++) {
        $student = new Student();
        $student->delete($id[$i]);
        $details = new Student_details();
        $details->delete($id[$i]);
        $sy = new Schoolyr();
        $sy->delete($id[$i]);
        $req = new Requirements();
        $req->delete($id[$i]);
    }
    message("Student has successfully deleted!", "info");
    redirect('index.php');
}