blob: fb6e9a672823334e962ea3c9c0909e6ae446a3c8 [file] [log] [blame]
<?php
require '../php/utils.php';
$user = get_users($_GET['id']);
echo '{ ';
$first = true;
foreach ($user as $prop => $value) {
if (!$first) echo ', ';
else $first = false;
if ($prop == "nomcomplet") echo '"'.$prop.'": "'.$value.'"';
else echo '"'.$prop.'": '.$value;
}
echo ' }';
?>