<?php
include 'dbcon.php';

echo "--- Table: users ---\n";
$res = mysqli_query($conn, "DESCRIBE users");
while($row = mysqli_fetch_assoc($res)) {
    print_r($row);
}

echo "\n--- Roles ---\n";
$res = mysqli_query($conn, "SELECT * FROM roles");
while($row = mysqli_fetch_assoc($res)) {
    print_r($row);
}
?>
