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

-

+ + + + + + + + + + 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 ''; + echo ''; + echo ''; + echo ''; + echo ''; } } } else { die($err); } ?> - + +
Round #ChannelQuestion #Question
' . $res['round_num'] . '' . $res['channel'] . '' . $res['line_num'] . '' . $res['question'] . '