瀏覽代碼

Add race time to table

Foppe Hemminga 6 年之前
父節點
當前提交
39aaba7104
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -29,7 +29,7 @@
             ON horses.race_date = race_program.race_date
                 AND horses.venue = race_program.venue
             WHERE horses.race_date >= %s
-            ORDER BY race_date, venue, race;", $conn->quote(date("Y-m-d")));
+            ORDER BY horses.race_date, horses.venue, horses.race;", $conn->quote(date("Y-m-d")));
 		$stmt = $conn->query($query);
 		// $r = $stmt->fetch(PDO::FETCH_ASSOC);
         ?>