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.137.219.221
<?php
include ("database.php");
$appno = $_POST['appno'];
$user = $_SESSION['USERTYPE'];
$remarks = $_POST['remarks'];
$status = $_POST['status'];
$query = "update studadm set FAPPRSTATUS = '{$status}',fpaymentstatus = 'success',
FAPPRDATE = now(), fremarks = '{$remarks}'
where fappno = '{$appno}'";
$result = mysqli_query($conn,$query);
if($result)
{
$row['status'] = 'success';
$row['msg'] = 'Updated';
echo json_encode($row);
}
else
{
$row['status'] = 'failure';
$row['msg'] = 'Updation Failed';
echo json_encode($row);
}
?>
|