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 : 3.15.1.23
<?php
function getDegName($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$query = "SELECT DISTINCT d.fdegree,d.fdescpn,t.fdegree FROM degree d INNER JOIN tabulate t
ON d.fdegree=t.fdegree ";
var_dump( $query);
die();
$result = $aobj_context->mobj_db->GetAll($query);
if($result)
{
$res['univs'] = $result;
echo $aobj_context->mobj_output->ToJSONEnvelope($res,0,"success");
}
else
{
$arr['msg'] = 'No Data Found';
echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure");
}
}
?>
|