From 834405e39bcf0fd43daba80f3c2cf966cc27f431 Mon Sep 17 00:00:00 2001 From: mdPlusPlus Date: Thu, 29 Dec 2022 20:49:04 +0100 Subject: [PATCH] Add summary row to table --- get_online_session_communities.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/get_online_session_communities.php b/get_online_session_communities.php index c40d68d2..957c02bb 100644 --- a/get_online_session_communities.php +++ b/get_online_session_communities.php @@ -61,7 +61,7 @@ // print_r($room_assignments); //TODO: We also assigned empty room arrays. Should probably be fixed // print_r($final_join_links); - echo(count($final_join_links) . " unique Session Communities have been found." . PHP_EOL); +// echo(count($final_join_links) . " unique Session Communities have been found." . PHP_EOL); //TODO: What about room view links? @@ -572,7 +572,12 @@ " " . PHP_EOL; // suffix - $suffix = "" . PHP_EOL; + // span over 5 columns (id, name, description, users, link) + $suffix = + " " . PHP_EOL . + " " . count($table_lines) . " unique Session Communities have been found." . PHP_EOL . + " " . PHP_EOL . + "" . PHP_EOL; // concatenate html $html = $prefix;