Commit e24bbda8 authored by mbriand's avatar mbriand

ok

parent 5334bfc9
<?
$topdir = "../";
require_once($topdir . "include/entities/std.inc.php");
require_once($topdir. "include/site.inc.php");
require_once($topdir . "include/entities/utilisateur.inc.php");
$site = new site ();
$user = new utilisateur($site->db,$site->dbrw);
$user->load_all_by_id($_REQUEST["id_utilisateur"]);
echo $user->id."\n";
echo $user->id_ville."\n";
echo $user->id_pays."\n";
echo $user->id_ville_parents."\n";
echo $user->id_pays_parents."\n";
echo "--------\n";
$user = new utilisateur($site->db,$site->dbrw);
$user->load_by_id($_REQUEST["id_utilisateur"]);
$user->load_all_extra();
echo $user->id."\n";
echo $user->id_ville."\n";
echo $user->id_pays."\n";
echo $user->id_ville_parents."\n";
echo $user->id_pays_parents."\n";
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment