diff options
author | Mateja <mail@matejamaric.com> | 2020-10-05 14:32:19 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-05 14:32:19 +0200 |
commit | 2fec3cd2d3d302dea152569a45e164aa6c7ec6a8 (patch) | |
tree | 895b76b07fb3edf4e54bf77748fd6b57aaaf3a6e /index.php | |
parent | 61f1ca8df73673e42fa52e5b73ab8c9fa3dab5fb (diff) | |
download | old-php-yota-2fec3cd2d3d302dea152569a45e164aa6c7ec6a8.tar.gz old-php-yota-2fec3cd2d3d302dea152569a45e164aa6c7ec6a8.zip |
Callsign and query fixes
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,12 +42,12 @@ session_start(); echo "<th>Operator</th>"; echo "<th>From</th>"; echo "<th>To</th>"; - echo "<th>Special sign</th>"; + echo "<th>Special Callsign</th>"; echo "<th>Frequencies</th>"; echo "<th>QSO</th>"; echo "</tr></thead><tbody>\n"; - foreach($db->query("SELECT * FROM $table where approved=true ORDER BY `id` DESC") as $row) { + foreach($db->query("SELECT * FROM $table where approved=true ORDER BY `fromTime`") as $row) { echo "<tr>"; echo "<td>" . $row['operatorCall'] . "</td>"; echo "<td>" . $row['fromTime'] . "</td>"; |