Bonjour,
J'ai deux tables liés :
table1 (id, nom);
table2(id, nom, t1.id)
je fais mon select ... where ...
et pour récupérer en gros:
while($ligne = $resultat->fetch_assoc())
{
echo "table 1 :". $ligne['nom']." table2 : ".$ligne['nom']." ;
}
Comment je peux différencier "nom" de table1 de "nom" de table2 ?
Merci.
Partager