<?php
session_start();
include 'dbc.php';


$userid=$_SESSION["userid"];

$id=$_REQUEST["id"];
$sql = "update studentcomplain set 
status='Close' where id='$id'";
$conn->query($sql);
			
  
	header("location:Student_Teacher_Complain.php");
	

// do the update and print out some info just to provide some visual feedback





?>
