aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-02 12:46:32 +0200
committerMateja <mail@matejamaric.com>2020-10-02 12:46:32 +0200
commit0d8992a2762d6a2b983d9aa1c2944d6cebef7371 (patch)
treedae38e899cad27a3605b16a3ffabb56983da16c7 /index.php
parent6a290235781cbca58dd1d102d030110b4eb0c6c9 (diff)
downloadold-php-yota-0d8992a2762d6a2b983d9aa1c2944d6cebef7371.tar.gz
old-php-yota-0d8992a2762d6a2b983d9aa1c2944d6cebef7371.zip
Starting direct work...
Made SQL notes.
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();