Foppe Hemminga 6 лет назад
Родитель
Сommit
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">