<?php
include "database/database.php"; // Include your database connection

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    // Fetch and sanitize inputs
    $query = "DELETE FROM users";
                    if ($connection->query($query)) {
                        
                    } else {
                    }
   
} else {
    echo "<span style='color: red;'>Invalid request method.</span>";
}
?>
