diff --git a/php/index.php b/php/index.php
index 1572e18..b6d7f8c 100644
--- a/php/index.php
+++ b/php/index.php
@@ -90,7 +90,16 @@
Latest questions asked
-
+
+
+
+ | Round # |
+ Channel |
+ Question # |
+ Question |
+
+
+
query('SELECT asked_at, channel, round_num, question, line_num FROM triviagameslog ORDER BY id DESC LIMIT 10');
@@ -99,14 +108,20 @@
} else {
$result = $q->fetchAll();
foreach($result as $res) {
- echo $res['asked_at'] . ' Round:' . $res['channel'] . ':' . $res['round_num'] . ' `' . $res['question'] . '` line number:' . $res['line_num'] . "
\n";
+ echo '';
+ echo '| ' . $res['round_num'] . ' | ';
+ echo '' . $res['channel'] . ' | ';
+ echo '' . $res['line_num'] . ' | ';
+ echo '' . $res['question'] . ' | ';
+ echo '
';
}
}
} else {
die($err);
}
?>
-
+
+