prepare("DELETE FROM spbu WHERE id=?"); $stmt->bind_param("i", $id); echo $stmt->execute() ? "success" : "error"; ?>