{$row['NomSociete']} - {$row['Adresse']}"; } $query = "SELECT ID, Prenom, Nom, Mobile, IDEntreprise FROM Contact"; $result = mysqli_query($conn, $query); $options2 = ""; while ($row = mysqli_fetch_assoc($result)) { $query2 = "SELECT NomSociete FROM Entreprise WHERE ID = {$row['IDEntreprise']}"; $result2 = mysqli_query($conn, $query2); $row2 = mysqli_fetch_assoc($result2); $options2 .= ""; } ?>