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.119.19.251
<?php
function saveuvcms($aobj_context)
{
$regno = $aobj_context->mobj_data["regno"];
$regnoact = $aobj_context->mobj_data["r"];
$query = "update student set fuvcmsregno = '{$regno}'
where fregno = '{$regnoact}'";
$result = $aobj_context->mobj_db->Execute($query);
if($result)
{
$arr['data']='Updated Successfully';
echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success");
return false;
}
else
{
$arr['data']='Please Try After Sometime';
echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"Failure");
return false;
}
}
?>
|