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.145.168.68


Current Path : /proc/thread-self/root/var/www/html/phdadm/src/
Upload File :
Current File : //proc/thread-self/root/var/www/html/phdadm/src/dropdown.php

<?php

function getmasterdropdown($aobj_context)
{
	$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); 

	$query = "SELECT FSERVCODE AS int_code,FSERVNAME AS val FROM servtype 
	where ifnull(FDELETED,'') <> 'T' order by FORDER asc ";
	$rst = $aobj_context->mobj_db->GetAll($query);
	$arr['serv_type'] = $rst;
	
	$query2="SELECT distinct FDEGREE AS int_code,concat(FDEGREE,' - ',FDESCPN) AS val FROM degree 
	where ifnull(FDELETED,'') <> 'T' order by FDEGREE asc ";
	$rst2 = $aobj_context->mobj_db->GetAll($query2);
	$arr['degree'] = $rst2;
	
	$query3 = "SELECT FCATEGORY AS int_code,FDESCPN AS val FROM category 
	where ifnull(FDELETED,'') <> 'T' order by FCATEGORY asc ";
	$rst3 = $aobj_context->mobj_db->GetAll($query3);
	$arr['category'] = $rst3;
	
	echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); 
	return;		
}


?>