Ver código fonte

Add race time to table

Foppe Hemminga 6 anos atrás
pai
commit
82f2547b6e
1 arquivos alterados com 4 adições e 1 exclusões
  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