prepare("DELETE FROM posts WHERE id = ?"); $stmt->execute([$id]); header("Location: index.php"); exit();