<?php
include("../includes/db_connection.php");
include("../includes/auth.php");

$id = intval($_GET['id']);

$stmt = $conn->prepare("DELETE FROM clients WHERE id=?");
$stmt->bind_param("i",$id);
$stmt->execute();

header("Location: clients.php");
exit;
?>