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 : 13.59.36.36


Current Path : /proc/thread-self/root/var/www/html/pgadm2020/pgetadm/
Upload File :
Current File : //proc/thread-self/root/var/www/html/pgadm2020/pgetadm/printadmissionorder.php

<?php

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

  $query = "select ifnull(fappno,'') as fappno, ifnull(ffinsub,'F') as ffinsub, 
  ifnull(fpaystatus,'') as fpaystatus from entstudadm 
  where fmobileno = '{$_SESSION['MOBILE']}'";

	$obj =  $aobj_context->mobj_db->GetRow($query); 
	// var_dump($obj);
  $row['fappno'] = $obj['fappno'];
  $row['ffinsub'] = $obj['ffinsub'];
  $row['fpaystatus'] = $obj['fpaystatus'];
	$row['error_code'] = '0';
	if($obj['fappno'] == '')
	{
		$row['error_code'] = '-1';
	}
	echo json_encode($row);

}