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


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

<?php

function getUnivName($aobj_context)
{
    
	$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); 
    
	
	$univcode = trim($aobj_context->mobj_data["univcode"]);


	$query = "select FUNIVCODE,FUNIVNAME,FTOWN from control";
	$result = $aobj_context->pobj_db->GetRow($query);

	if($result)
	{
		echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 

	}
	else
	{
		$arr['msg'] = 'Error While Loading..!';
		echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); 	
	}	
	return;
}