<!-- use to display full post where the see more button is clicked -->
<?php
// Include the database configuration file
include 'config.php';
// Initialize message variable
$msg = "";
// If upload button is clicked ...


if (isset($_GET['ID'])) {
    $id = $_GET['ID'];
    $record = mysqli_query($db, "DELETE FROM complaints WHERE ID=$id");
    
    header("Location: user-complaint.php");

}
?>
