1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| <div class="panel-body">
<table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr>
<th>Nom du groupe</th>
<th>Code</th>
<th>Action</th>
</tr>
</thead>
<?php
$sql = " select code_groupe , libelle_groupe from groupe ";
$result = $conn->query($sql);
while ($donnee=mysqli_fetch_array($result,MYSQLI_ASSOC))
{
$code_groupe = $donnee["code_groupe"];
$libelle_groupe = $donnee["libelle_groupe"];
?>
<tbody>
<tr class="odd gradeX">
<td><?php echo $libelle_groupe; ?></td>
<th><?php echo $code_groupe;?></th>
<!-- <th><?php echo $libelle_groupe;?></th> -->
</tr>
</tbody>
<?php
}
mysqli_close($conn);
?>
</table>
<!-- /.table-responsive -->
</div> |
Partager