?php if(isset($_POST["id"])){ include "conn.php"; $sql = "delete from report_action where id=".$_POST["id"]; $conn->query($sql); $conn->close(); header("location: ../darbi.php"); } ?>