Merci dan pour la solution.
Mais j'ai un autre pb.
les informations ne s'affichent pas tous
le programme affiche une ligne et saute une
voici mon code
$id = $_GET['id']; if ($id = 'm') { $mal = $_POST['nom']; $req = $query="SELECT * FROM mutation where mal_nom_fr REGEXP '[[:<:]]".$mal."[[:>:]]' OR mal_nom_eng REGEXP '[[:<:]]".$mal."[[:>:]]'"; ; $res = executeRequete($req); $num = mysql_num_rows($res); if ($num = 0) { header("Location:mutation.php"); echo "alert('Disease not exist')"; } else{ echo $mal.'<br><div><table border="1">'; while($resultat = mysql_fetch_array($res)) { echo " <tr> <td>".$resultat['gene']."</td> <td onClick='document.location.href=".$res['lien'].">".$resultat['omim']."</td> </tr> "; } echo '</table></div>'; } }