first commit
This commit is contained in:
11
backend/Admin/debug/check_users_cols.php
Normal file
11
backend/Admin/debug/check_users_cols.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
require_once 'connect.php';
|
||||
|
||||
try {
|
||||
$stmt = $con->query("DESCRIBE users");
|
||||
$cols = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
echo json_encode($cols, JSON_PRETTY_PRINT);
|
||||
} catch (Exception $e) {
|
||||
echo $e->getMessage();
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user