Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.119.118.151
<?php
function getSubjectNamesForSelectedSub($aobj_context)
{
$subject_code = $aobj_context->mobj_data["subject_code"];
$degree_code = $aobj_context->mobj_data["degree_code"];
$exam = $aobj_context->mobj_data["exam"];
$univcode = $aobj_context->mobj_data["univcode"];
$data = $aobj_context->mobj_data["data"];
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$get_sub_names ="";
// var_dump($get_sub_names);
$lobj_get_sub_names = $aobj_context->pobj_db->getRow($get_sub_names);
// var_dump($lobj_get_sub_names);
if(count($lobj_get_sub_names)==0 || empty($lobj_get_sub_names))
{
echo $aobj_context->mobj_output->ToJSONEnvelope($lobj_get_sub_names,-1,"failure");
return;
}
else
{
echo $aobj_context->mobj_output->ToJSONEnvelope($lobj_get_sub_names,0,"success");
return;
}
}
?>
|