0xV3NOMx
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.144.119.149


Current Path : /var/www/oasis/src/
Upload File :
Current File : /var/www/oasis/src/printApp_ru.php

<?php

function loaddegree_ru($aobj_context)
{
	session_start();
	$db = $aobj_context->mobj_data["db"];

    	$get_category_names="SELECT s.fdegree as internal_code,concat(s.fdegree,' - ',d.fdescpn) as value FROM studadm s 
    inner join degree d on s.fdegree = d.fdegree
    and d.fexamno = 'A'
    where s.fcollcode = '{$_SESSION['collcode']}'
    group by s.fdegree";

                        //  var_dump($get_category_names);
                        //  die();

		// $get_category_names="SELECT c.fdegree AS internal_code, d.FDESCPN AS value FROM 
		// degree d INNER JOIN colldeg c ON d.fdegree = c.fdegree
		// WHERE c.fcollcode = '{$_SESSION['collcode']}' AND c.fdeleted = 'F'
		// GROUP BY d.fdegree
		// ORDER BY d.fdegree";

	
	//  echo $get_category_names; die();
	$lobj_get_category_names = $aobj_context->mobj_db->GetAll($get_category_names);
	if($lobj_get_category_names!= 0)	
      echo $aobj_context->mobj_output->ToJSONEnvelope($lobj_get_category_names,0,"success"); 
    else
      echo $aobj_context->mobj_output->ToJSONEnvelope($lobj_get_category_names,-1,"Failure");
    return;

}






?>