echo json_encode($tStandardName);
/*
				NOTE - 1 
				Here it will check that, on previos page Select is Checked or not
				If it is then the value of it as 1 otherwise 0. 
*/
if (isset($_POST['selectAll']) != null && isset($_POST['SubjectName'])) {
    $isAll = $_POST['selectAll'];
    echo "BOTH SET";
}
/*
				NOTE - 2
				Here Standard id is fetch from the tblstandard using standard from 
				revious page which is selected by user.		
*/
$standardId = $objStudentCls->getStandardId($standardName);
$sId = mysqli_fetch_assoc($standardId);
extract($sId);
echo $nStandardId;
/*
				NOTE - 3
				Fetch all students nGRNO from tblstudentstandard using standard id i.e.,
				nStandardId.	
*/
$allStudentnGRNO = $objStudentCls->getnGRNOFromStandard($nStandardId);
/*
				NOTE - 4
				After that check the date in attendece table if date is exist then update
				all data otherwise insert new data for the day.
*/
$checkExistanceOfDate = $objStudentCls->checkDateFromAttendence($atdDate, $nStandardId);