Foppe Hemminga 6 лет назад
Родитель
Сommit
82f2547b6e
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      index.php

+ 4 - 1
index.php

@@ -31,7 +31,10 @@
             WHERE horses.race_date >= %s
             WHERE horses.race_date >= %s
             ORDER BY horses.race_date, horses.venue, horses.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);
 		$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">
 <table class="table table-striped table-bordered">
     <?php
     <?php