created list_table file for api

This commit is contained in:
Václav Šmejkal 2024-05-20 19:15:35 +02:00
parent cbb0668fbd
commit 437f315185
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

10
res/forum/list_table.php Normal file

@ -0,0 +1,10 @@
<?php
include("../global.php");
$out = $database -> query("SELECT username FROM user");
while ($res = $out -> fetch_assoc())
{
echo "<div class=\"output\">" . $res["username"] . "</div>";
}