avoir une boutton de confirmation
Bonjours,
SVP, j'ai un script php , dont lequel j'ai une certaine action à faire (suppression ,signalisation..) je veux avoir un button "confirmer" si je clique sur " supprimer" ou "signaler rebu" .
voici le code et merci d'avance
Code:
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
| while($tab=mysql_fetch_array($rs))
{
echo "<tr>";
echo "<td valign=top><p class=text2>$i</td>";
echo "<td valign=top><p class=text2>$tab[1]</td>";
echo "<td valign=top><p class=text2>$tab[2]</td>";
echo "<td valign=top><p class=text2>$tab[9]</td>";
echo "<td valign=top><p class=text2>$tab[7]</td>";
echo "<td valign=top><p class=text2>$tab[8]</td>";
echo "<td><p class=text2><img src=img/arrow1.gif border=0> Nom :$tab[3]<br>
<img src=img/arrow1.gif border=0> Prénom :$tab[4]<br>
<img src=img/arrow1.gif border=0> N°Command :$tab[11]<br> <img src=img/arrow1.gif border=0> matricule :$tab[5] <br> <img src=img/arrow1.gif border=0> Service/UF :$tab[6]<br><img src=img/arrow1.gif border=0> Date d'affectation :$tab[10]
</td>";
echo "<td valign=top><p class=text2>
<a class=linx href=affect.php?id=$tab[0]>Affecter</a><br>
<a class=linx href=update.php?id=$tab[0]>Signaler Libre</a><br>
<a class=linx href=delet.php?id=$tab[0]>Supprimer</a><br>
</td>";
echo "<td valign=top><p class=text2>
<a class=linx href=update3.php?id=$tab[0]>Signaler fonctionnel</a><br>
<a class=linx href=updat4.php?id=$tab[0]>Signaler en reparation</a><br>
<a class=linx href=update2.php?id=$tab[0]>Signaler rebut</a><br>
</td>";
echo "</tr>";
$i++; |