浏览代码

Add race time to table

Foppe Hemminga 6 年之前
父节点
当前提交
82f2547b6e
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      index.php

+ 4 - 1
index.php

@@ -31,7 +31,10 @@
             WHERE horses.race_date >= %s
             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);
+		$r = $stmt->fetch(PDO::FETCH_ASSOC);
+		print "<pre>" ;
+		print_r($r);
+		print "</pre>";
         ?>
 <table class="table table-striped table-bordered">
     <?php