Bonjour,
j'ai probleme au niveau de ma requete

En faite j'ai 3 tables.

TABLE france avec comme champs nom; prenom; taille; poid; photo; description.

TABLE region avec comme champs nom; prenom; taille; poid; photo; description.

TABLE departement avec comme champs nom; prenom; taille; poid; photo; description.

Et sur la page de mon site je voudrait que sa affiche comme ceci.

nom prenom taille poid
photo description (requette dans la table region)
-----------------------------
nom prenom taille poid
photo description (requette dans la table france)
-----------------------------
nom prenom taille poid
photo description (requette dans la table departement)
-----------------------------
.....
.....etc....


Pour tout se qui est de la mise en forme, afficher en boucle et autre.... c'est bon.
C'est juste pour afficher la requette avec les 3 tables en meme temps. Exemple toutes les personnes qui on la meme taille

Voici se que j'ai fait apres mettre connecté au serveur:

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
$requete = "SELECT * FROM france 
LEFT JOIN region 
ON france.avatar = region.id
LEFT JOIN departement
ON france.avatar = departement.id ";
$envoi = mysql_query($requete)or die(mysql_error());
 
// début du tableau ( hors boucle )
 
while($tableau = mysql_fetch_array($envoi))
{
?>
	<tr>
	<td width="100" align="center" valign="top" bgcolor="#DCDCDC"><?php echo $tableau['nom'];?></td>
		<td width="100" align="center" valign="top" bgcolor="#DCDCDC"><?php echo $tableau['nom'];?></td>
		<td width="100" align="center" valign="top" bgcolor="#DCDCDC"><?php echo $tableau['prenom'];?></td>
		<td width="100" align="center" valign="top" bgcolor="#DCDCDC"><?php echo $tableau['taille'];?></td>
		<td width="100" align="center" valign="top" bgcolor="#DCDCDC"><?php echo $tableau['poid'];?></td>
	</tr>
	<tr>
	    <td width="100%" colspan="4" align="left" valign="top">
 
		<?php 
		$destination = $tableau['avatar']; //destination des images
$dimensions = @getimagesize($destination); 
 
if($dimensions[0]<=120 && $dimensions[1]<=120) //si la longueur et inférieure ou égale à 120 de même pour la largeur
{
 
 
      echo'<img src="'.$tableau['avatar'].' " class="imageflottante"  />';
 
 
}
 
else
{
 
     echo'<img src="'.$tableau['avatar'].' " class="imageflottante" style="width:auto; height:150px;" />';
 
}
 
		?><?php echo $tableau['description'];?>
	</td>
    </tr>
 
	<tr>
		<td colspan="4">---------------------------------------------------------------------------</td>
 
	</tr>
 
<?php
j'espère etre claire.

MERCI