<?php    


include("element/connection.php");





$id=$_GET['id'];
$status=$_GET['status'];
$updatequery1="UPDATE users SET status=`$status` WHERE id=`$id`";
mysqli_query($conn,$updatequery1);

header('location:agent-list.php');


?>