This commit is contained in:
Lanta 2023-09-29 14:36:41 +02:00
parent 9cb9932c94
commit 68f8705e17

View file

@ -89,17 +89,17 @@ error_reporting(E_ALL);
echo "</table>"; echo "</table>";
} }
foreach ($players_matches as $key => $update) {
if ($key == 'updated'){
echo "Last update: "; echo "Last update: ";
foreach ($players_matches as $player_data) { echo $update['updated'];
if (isset($player_data['updated'])) {
echo $player_data['updated'];
break; // Once found, exit the loop
} }
} }
?> ?>
</section> </section>
</main> </main>