The following files exists in this folder. Click to view.
<?php
include("check_login.php");
include("db.php");
$id = $_GET['id'];
$stmt = $pdo->prepare("DELETE FROM users WHERE id = ?");
$stmt->execute([$id]);
header("location: users.php");
exit();
?>