From 554cf3baf7852200d0870980ea1c78de34aa2a99 Mon Sep 17 00:00:00 2001 From: rootcoma Date: Sun, 3 Nov 2013 05:49:33 -0800 Subject: [PATCH] More better webpages --- php/index.php | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) 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'] . '