示例#1
0
              <thead>
                <tr>
                  <th>Id</th>
                  <th>Nom</th>
                  <th>Prénom</th>
                  <th>Email</th>
                  <th>Login</th>
                  <th>Modifier</th>
                  <th>Supprimer</th>
                </tr>
              </thead>
              <tbody>
                <?php 
$u = new utilisateurs();
$req = "SELECT * FROM utilisateurs\n                      \t\t  WHERE nom LIKE '%" . $rech . "%' \n                      \t\t  OR pnom LIKE '%" . $rech . "%'\n                      \t\t  OR login LIKE '%" . $rech . "%'";
$tab = $u->Liste($req);
foreach ($tab as $key => $ligne) {
    ?>
                       <tr>
                         <td><?php 
    echo $ligne["id"];
    ?>
</td>
                         <td><?php 
    echo $ligne["nom"];
    ?>
</td>
                         <td><?php 
    echo $ligne["pnom"];
    ?>
</td>