Browse Source

Add race time to table

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
431dc01873
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      index.php

+ 3 - 3
index.php

@@ -32,12 +32,12 @@
             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);
 		print "<pre>" ;
 		print_r($r);
 		print "</pre>";
-		*/
+
         ?>
 <table class="table table-striped table-bordered">
     <?php
@@ -82,7 +82,7 @@ TABLEFOOT;
 				}
             } else {
 				$new_venue = $row['venue'];
-            }
+			}
         ?>
     <tr>
         <td><?php echo htmlspecialchars($row['id']); ?></td>