Files
Siro/backend/Admin/debug/check_users_cols.php
2026-06-16 17:47:19 +03:00

12 lines
240 B
PHP

<?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 "An error occurred.";
}
?>