Files
intaleq_v3_pure_php/check_users_cols.php
Hamza-Ayed b602106b79 admin 8
2026-04-30 17:29:33 +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();
}
?>