Files
Siro/backend/Admin/debug/check_users_cols.php
2026-06-09 08:40:31 +03:00

12 lines
236 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 $e->getMessage();
}
?>