$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);
echo $checkExistanceOfDate . " + " . $atdDate;
/*
				NOTE - 4
				After checking dage now insert / update all nGRNO in tblattendece to
				set is student is present or not in a school on the date ?.
*/
//$objStudentCls->setAttendenceForDate( $atdDate, $nStandardId, $allStudentnGRNO, $forStatus , $tSubjectName ) ;
if ($checkExistanceOfDate > 0) {
    $objStudentCls->updateAttendenceForDate($atdDate, $nStandardId, $allStudentnGRNO, $forStatus, implode(" | ", $tsubject));
} else {
    $objStudentCls->setAttendenceForDate($atdDate, $nStandardId, $allStudentnGRNO, $forStatus, implode(" | ", $tsubject));
}
if ($isAll == null) {
    echo " POINT-1    ";
    if ($forStatus == 1) {