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