Jelajahi Sumber

Fixed: remove second table

Foppe Hemminga 6 tahun lalu
induk
melakukan
792d70085d
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 1
      index.php

+ 5 - 1
index.php

@@ -75,6 +75,7 @@
 			<?php endwhile; ?>
 			<?php endwhile; ?>
             </tbody>
             </tbody>
         </table>
         </table>
+        <!--
         <?php
         <?php
         $query = sprintf("SELECT * FROM race_program
         $query = sprintf("SELECT * FROM race_program
         WHERE race_date >= %s ORDER BY race_date, venue, race;", $conn->quote($date->format('Y-m-d')));
         WHERE race_date >= %s ORDER BY race_date, venue, race;", $conn->quote($date->format('Y-m-d')));
@@ -96,7 +97,9 @@
 			<?php
 			<?php
 			while ( $row = $stmt3->fetch( PDO::FETCH_ASSOC ) ) : ?>
 			while ( $row = $stmt3->fetch( PDO::FETCH_ASSOC ) ) : ?>
                 <tr>
                 <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['venue']); ?></td>
                     <td><?php echo htmlspecialchars($row['state']); ?></td>
                     <td><?php echo htmlspecialchars($row['state']); ?></td>
                     <td><?php echo htmlspecialchars($row['race_date']); ?></td>
                     <td><?php echo htmlspecialchars($row['race_date']); ?></td>
@@ -107,6 +110,7 @@
 			<?php endwhile; ?>
 			<?php endwhile; ?>
             </tbody>
             </tbody>
         </table>
         </table>
+        -->
 <table class="table table-striped table-bordered">
 <table class="table table-striped table-bordered">
     <?php
     <?php
     $table_head = <<<TABLEHEAD
     $table_head = <<<TABLEHEAD
@@ -174,7 +178,7 @@ TAG;
         <td><?php if ($row['torn']) { echo $img; }; ?></td>
         <td><?php if ($row['torn']) { echo $img; }; ?></td>
     </tr>
     </tr>
 	<?php endwhile; ?>
 	<?php endwhile; ?>
-</table>
+        </table>
     <?php
     <?php
     echo $table_foot;
     echo $table_foot;