소스 검색

Split tables

Foppe Hemminga 6 년 전
부모
커밋
9d64a40504
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      index.php

+ 2 - 0
index.php

@@ -58,6 +58,7 @@ TABLEFOOT;
 					echo $table_foot;
 					echo '<h4>' . htmlspecialchars($row['race_date']) . '</h4>';
 					echo $table_head;
+					$new_day = $row['race_date'];
 				}
 			} else {
 				$new_day = $row['race_date'];
@@ -66,6 +67,7 @@ TABLEFOOT;
                 if ($new_venue != $row['venue'] ) {
 					echo $table_foot;
 					echo $table_head;
+					$new_venue = $row['venue'];
 				}
             } else {
 				$new_venue = $row['venue'];