aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 47b4069..938534c 100644
--- a/index.php
+++ b/index.php
@@ -36,11 +36,11 @@ session_start();
echo '<div style="overflow-x:auto;">';
echo "<table>\n";
- echo "<tr>";
+ echo "<thead><tr>";
echo "<th>Ime</th>";
echo "<th>Prezime</th>";
echo "<th>Godine</th>";
- echo "</tr>\n";
+ echo "</tr></thead><tbody>\n";
foreach($db->query("SELECT * FROM $table where approved=true") as $row) {
echo "<tr>";
@@ -50,7 +50,7 @@ session_start();
echo "</tr>\n";
}
- echo "</table>\n</div>\n";
+ echo "</tbody></table>\n</div>\n";
} catch (PDOException $e) {
echo "<p>Error!: " . $e->getMessage() . "</p>";
die();