Bonjour a tous tt d'abord je tiens à remercier tt les membres du forum qui m'aide beaucoup et qui sont très à l'écoute.
Voila j'ai encore une question ma page affiche la table avec tt mes articles mais via le lien supprimer je voudrai désactiver et non pas supprimer une ligne de ma table pour la rendre invisible merci voici mon code:

?>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 
<div class="contenu">
 
 
		<h1><u>Recherche de client</u></h1>
<form name="formulaire" method="post" action="archiveclient.php">
<table width = "320" border = "1">
<tr>
<td> Nom Client :  </td>
<td> <input type="text" name="nomclirech" id="nomclirech" value=""/></td>
</tr>
 
<tr><td></td>
<td align="right"><input type="submit" name="rechercher" id="rechercher" value="rechercher" onclick="rechercher()"/></td>
</tr>
</table>
 
<?php
 
	$nom = $_POST["nomclirech"];
		$db_link = mysql_connect("localhost","root","");
	if (!$db_link){
	 die ("Erreur de connexion :".mysql_error());
	 }
	 mysql_select_db("gestion de commande") or die ("Sélection de la base impossible");
	 /*performing SQL query*/
 
	 $sql="SELECT * FROM client WHERE nom LIKE CONVERT( _utf8 '%$nom%'USING latin1 ) COLLATE latin1_swedish_ci";
 
		/*echo $sql;*/
	  $result = mysql_query($sql,$db_link);
	 if (!$result)
		die ("erreur sur ma requete".mysql_error());
 
 
	 /* closing connection*/
	 mysql_close($db_link);
 
	 ?>	 
	 <br/>
	 <br/>
<table width = "350" border = "4">
<tr>
<td> Nom du client</td>
<td> Prénom du client</td>
<td> Adresse du client</td>
<td> Code postal</td>
<td> Ville</td>
<td>Pays</td>
<td> Téléphone</td>
<td> gsm</td>
<td> E-mail</td>
</tr>
 
 
<?php
while ($row=mysql_fetch_row($result))
    {
    echo '<tr>';
	echo '<td>'.$row[1].'</td>';
	echo '<td>'.$row[2].'</td>';
	echo '<td>'.$row[3].'</td>';
	echo '<td>'.$row[4].'</td>';
	echo '<td>'.$row[5].'</td>';
	echo '<td>'.$row[6].'</td>';
	echo '<td>'.$row[7].'</td>';
	echo '<td>'.$row[8].'</td>';
	echo '<td>'.$row[9].'</td>';
	echo '<td><ul><li><a href="modifclient.php?id='.$row[0].'">Modifier</a></li>
	</ul></td>';
	echo '<td><ul><li><a href="supprimerclient.php?id='.$row[1].'">Désactiver</a></li>
	</ul></td>';
	echo '</td></tr>';
    }
?>	
</table>
</div>