select table rows and edit user

This commit is contained in:
2022-06-10 14:10:34 +02:00
parent 3c613cca33
commit 43c33b55d6
11 changed files with 200 additions and 6 deletions

View File

@@ -143,7 +143,7 @@ function check_admin($con) {
function load_users($con) {
$stmt = get_users($con);
foreach($stmt->fetchAll() as $row) {
echo "<tr>\n";
echo "<tr id=\"" . $row['id'] . "\" >\n";
echo "<td>" . $row['user_name'] . "</td>\n";
echo "<td>" . $row['user_group'] . "</td>\n";
echo "<td>" . $row['s_id'] . "</td>\n";