PHP query with link to SQL id

$recherche_nom = isset($_POST[‘recherche_nom’]) ? $_POST[‘recherche_nom’] : ”; $query = $mysqli->query( “SELECT id, nom_fr, nom_jp, ville, adr_fr, tel FROM Hotels WHERE nom_fr LIKE ‘%$recherche_nom%’ “); while( $resultat = mysqli_fetch_array($query)){ echo “<span style=’font-weight:bold; text-transform: uppercase;’>”.$resultat[‘ville’].” </span><br/> <span style=’font-weight:bold;’>Nom : </span>”.$resultat[‘nom_fr’].” <br/> <span style=’font-weight:bold;’>Adresse : </span>”.$resultat[‘adr_fr’].” <br/> <span style=’font-weight:bold;’>Tel : </span>”.$resultat[‘tel’].”<br/> <a href=’detail_htl.php?det_id=”.$resultat[‘ID’] . ‘#’ .$resultat[‘ID’] .”‘>lien</a><br/><br/>”; ;…

Details