diff --git a/www/2024/lib/show_reg_public.php b/www/2024/lib/show_reg_public.php index 21dd90f..dcdfc77 100644 --- a/www/2024/lib/show_reg_public.php +++ b/www/2024/lib/show_reg_public.php @@ -2,6 +2,7 @@ $year = date("Y"); + echo $year; $sql = "SELECT ID, NAME, LENGTH, CLIMB from RACES where YEAR like '".$year."'"; $result = $conn->query($sql); if ($result->num_rows > 0){ diff --git a/www/index.php b/www/index.php index c89b550..d07e24b 100755 --- a/www/index.php +++ b/www/index.php @@ -9,7 +9,7 @@ include './lib/show_reg_public.php'; // should it return preformatted table?
-