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
| <form name="circuit">
<table height="380" width="100%">
<tr valign="top">
<td>
<table width="100%">
<tr>
<td align='left'>NOM</td>
<td align='center'>LOGO</td>
<td align="center">MODIFIER</td>
<td align="center">SUPPRIMER</td>
</tr>
<?php
include("config.php");
$req="select num_circuit, nom_circuit, logo_circuit from circuit order by nom_circuit;";
$res=mysql_query($req);
$i=0;
while($row=mysql_fetch_array($res))
{
$nbform=0;
echo("<tr bgcolor=".($i % 2 == 0 ? '#99CCFF' : '#EFEFEF' ).">");
$i++;
$nbform ++;
echo"
<td align='left'>{$row['1']}</td>
<td align='center'>{$row['2']}</td>
<td align='center'><a href='modification_circuit1.php&id=".$row['0']."'><img src='image/editer.gif' width='37px' height='37px' alt='editer' border='0'></td>
<td align='center'><a href='suppression_circuit1&id=".$row['0']."' onClick='return confirm(\"Le circuit a bien été supprimée\");'><img src='image/supprimer.gif' width='37px' height='37px' alt='supprimer' border='0'></td>
</tr>";
}
?>
</table>
</td>
</tr></table></form> |
Partager