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 : 18.116.85.96
<?php
function getdgrgroupdet($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$univcode = $aobj_context->mobj_data['univcode'];
$query = "SELECT fdeggrp,fdescpn FROM deggrp";
$result = $aobj_context->pobj_db->GetAll($query);
// var_dump($result);
// die();
if($result){
echo $aobj_context->mobj_output->TOJSONEnvelope($result,0,"success");
return;
}else{
$arr['msg'] = "Data not found";
echo $aobj_context->mobj_output->TOJSONEnvelope($arr,-1,"failure");
return;
}
}
function getdegreepush($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$univcode = $aobj_context->mobj_data['univcode'];
var_dump($univcode,"VIKKIA");
die();
$query = "";
$result = $aobj_context->pobj_db->GetAll($query);
// var_dump($result);
// die();
if($result){
echo $aobj_context->mobj_output->TOJSONEnvelope($result,0,"success");
return;
}else{
$arr['msg'] = "Data not found";
echo $aobj_context->mobj_output->TOJSONEnvelope($arr,-1,"failure");
return;
}
}
?>
|