diff --git a/show_log.php b/show_log.php new file mode 100644 index 0000000..583547c --- /dev/null +++ b/show_log.php @@ -0,0 +1,40 @@ +query("SELECT id, gebruiker, actie, extra, tijd FROM log ORDER BY tijd DESC"); + $logs = $stmt->fetchAll(); +} catch (PDOException $e) { + die("Fout bij ophalen logs: " . $e->getMessage()); +} +?> + + +
+ +Geen logregels gevonden.
+ +| ID | +Gebruiker | +Actie | +Extra | +Tijd | +
|---|---|---|---|---|
| = htmlspecialchars($log['id']) |