|
@@ -29,7 +29,7 @@
|
|
|
ON horses.race_date = race_program.race_date
|
|
ON horses.race_date = race_program.race_date
|
|
|
AND horses.venue = race_program.venue
|
|
AND horses.venue = race_program.venue
|
|
|
WHERE horses.race_date >= %s
|
|
WHERE horses.race_date >= %s
|
|
|
- ORDER BY race_date, venue, 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);
|
|
|
?>
|
|
?>
|