diff --git a/index.php b/index.php index b794087..a62d7d6 100644 --- a/index.php +++ b/index.php @@ -76,6 +76,7 @@ function get_stats(){ if ($row = $res->fetch_assoc()) { $ret["match"] = $row["c"]; } + $ret["unmatched"] = $ret["found"] + $ret["lost"] - 2 * $ret["match"]; return $ret; }