Voilà le code :
<h2> Hors Forfait </h2>
<br/>
<?php
echo
"<table><tr><th>Date</th><th>Libelle</th><th>Monta
nt</th> <th>Situation</th> </tr>\n";
$result = mysql_query("SELECT * FROM lignefraishorsforfait WHERE idVisiteur='$idv' AND mois='$date';");
$nblignes = mysql_numrows($result);
$somme=0;
for ($i=0;$i<$nblignes;$i=$i+1) {
$id= mysql_result($result,$i,"id");
$datehf = mysql_result($result,$i,"date");
$libellehf= mysql_result($result,$i,"libelle");
$montanthf = mysql_result($result,$i,"montant");
$somme=$somme+$montanthf;
echo
"<tr><td>$datehf</td><td>$libellehf</td><td>$monta
nthf</td>
<td>
<select name='situationhf'>
<option>Choisir</option>
<option value='reporter'>Reporté</option>
<option value='supprimer'>Supprimé</option>
</select>
</td>
</tr>";
}
Voilà mon problème c'est de pouvoir récupérer le select de situationhf pour chaque lignefraishorsforfait.
Merci pour ton aide