This commit is contained in:
Thijs Stobbelaar 2023-09-29 14:36:41 +02:00
parent eb7c931d7d
commit 8ed3b6f691

View file

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