0) { $stmt = $pdo->prepare("DELETE FROM items WHERE id = :id"); $stmt->execute(['id' => $id]); } header("Location: index.php"); exit; } ?>