aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-05 14:32:19 +0200
committerMateja <mail@matejamaric.com>2020-10-05 14:32:19 +0200
commit2fec3cd2d3d302dea152569a45e164aa6c7ec6a8 (patch)
tree895b76b07fb3edf4e54bf77748fd6b57aaaf3a6e /index.php
parent61f1ca8df73673e42fa52e5b73ab8c9fa3dab5fb (diff)
downloadold-php-yota-2fec3cd2d3d302dea152569a45e164aa6c7ec6a8.tar.gz
old-php-yota-2fec3cd2d3d302dea152569a45e164aa6c7ec6a8.zip
Callsign and query fixes
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5262804..aac73e8 100644
--- a/index.php
+++ b/index.php
@@ -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>";