Przeglądaj źródła

Add race time to table

Foppe Hemminga 6 lat temu
rodzic
commit
87922faf15
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      index.php

+ 4 - 4
index.php

@@ -32,19 +32,19 @@
             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
     $table_head = <<<TABLEHEAD
         <thead>
         <tr>
-            <th>id</th>
+            <!-- <th>id</th> -->
             <th>venue</th>
             <th>race_date</th>
             <th>race</th>
@@ -85,7 +85,7 @@ TABLEFOOT;
 			}
         ?>
     <tr>
-        <td><?php echo htmlspecialchars($row['id']); ?></td>
+        <!-- <td><?php echo htmlspecialchars($row['id']); ?></td> -->
         <td><?php echo htmlspecialchars($row['venue']); ?></td>
         <td><?php echo htmlspecialchars($row['race_date']); ?></td>
         <td><?php echo htmlspecialchars($row['race']); ?></td>