c est le code qui envoie la suppression
Code : Tout sélectionner
<a href="ArticlesGestion.php?articleReference=<?php echo $row_rsListeArticle['reference']; ?>&suppArticle=ok"><img src="clic.gif" width="14" height="13" border="0"></a></div></td>if ((isset($_GET['articleReference'])) && ($_GET['articleReference'] != "") && (isset($_GET['suppArticle']))) {
$deleteSQL = sprintf("DELETE FROM articles WHERE reference=%s",
GetSQLValueString($_GET['articleReference'], "text"));
mysql_select_db($database_artnetvideo2, $artnetvideo2);
$Result1 = mysql_query($deleteSQL, $artnetvideo2) or die(mysql_error());
C est un code PHp émit par Dreaweaver mais délicat a adapter