voila mon pb. j'ai crée un tableau qui affiche ce que je veux qu'il affiche (hihih) et devant chaque enregistrement affiché, apparait un bouton radio. et j'aimerais que quans je clique sur le bouton de mon formulaire, ca supprime l'enregistrement qui a été selectionnez par le radio bouton ! mais comment faire ?? snifff
$query = "select * from tbl_produit where intitule_commercial='$intitule_commercial'";
$req = mysql_query($query);
echo "<Form method='POST' action='suppression_produit.php'>";
while($data = mysql_fetch_array($req))
{
echo "<tr bgcolor='white' height='15'>";
echo "<td height='15'><input type='radio' name='choix'></td>";
echo "<td height='15'><span class='admin'>".$data['intitule_commercial']."</span></td>";
echo "<td height='15'><span class='admin'>".$data['intitule_commun']."</span></td>";
echo "<td height='15'><span class='admin'>".$data['intitule_nature']."</span></td>";
echo "<td height='15'><span class='admin'>".$data['intitule_gamme1']."</span></td>";
echo "<td height='15'><span class='admin'>".$data['intitule_gamme2']."</span></td>";
}
echo "</table>";
echo "<br>";
echo "<input type='submit' value='Supprimer'>";
echo "</form>";
merci pour votre aide ! le code serait à placer dans le fichier suppression_produit.php