<?php include "../../0-config/config.php"; if ($_GET["action"] == 1) { $mode = 1; } if ($_GET["action"] == 2) { $mode = 2; } if ($mode == 2) { $u = new utilisateurs(); $u->id = $_GET["id"]; $u->Charger(); //var_dump($u); } ?> <!DOCTYPE html> <html lang="fr"> <body> <?php Entete(); ?> <?php Menu(2); ?> <h1>GESTION <small>Utilisateurs</small> <?php if ($mode == 1) { echo '<span class="label label-info">Ajout</span>';