Foppe Hemminga 6 роки тому
батько
коміт
d1323070fb
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      index.php

+ 2 - 2
index.php

@@ -45,7 +45,7 @@
 */
         $query = sprintf("SELECT * FROM race_program  
             WHERE race_date >= %s AND torn = TRUE
-            ORDER BY race_date, venue, race DESC;", $conn->quote($date->format('Y-m-d')));
+            ORDER BY race_date, venue, race;", $conn->quote($date->format('Y-m-d')));
         $stmt2 = $conn->query( $query );
         ?>
         <table class="table table-striped table-bordered">
@@ -77,7 +77,7 @@
         </table>
         <?php
         $query = sprintf("SELECT * FROM race_program
-        WHERE race_date >= %s ORDER BY race_date, venue, race DESC;", $conn->quote($date->format('Y-m-d')));
+        WHERE race_date >= %s ORDER BY race_date, venue, race;", $conn->quote($date->format('Y-m-d')));
         $stmt3 = $conn->query( $query );
         ?>
         <table class="table table-striped table-bordered">