blob: 686287d8c4d05a7dfef8924fce20f8e663d25a2e [file] [log] [blame]
<?php
require '../php/utils.php';
$user = get_users($_POST['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 ' }';
?>