bonjour tout le mande .
je vous remercie amis j'ai pu résoudre le probléme grace à vous .c'est le script complét espérant q'il peut aider un debutant comme mois .
<p><table border="1" width="60%" cellpadding="2">
<tr><td width="10%" ><b>code article:</b></td>
<td width="10%" ><b>article:</b></td>
<td width="10%" ><b>unite:</b></td>
<td width="10%" ><b>quantite:</b></td>
<td width="10%" ><b>prix:</b></td>
<td width="10%" ><b>code_lieu:</b></td></tr>
<?php
mysql_connect("localhost","root","");
mysql_select_db("gestionstk");
$q="select ref,designation,unite,quantite,prix_un_pmp from article";
$r=mysql_query($q);
$r1="select designation_lieu from lieu,article where lieu.code_lieu=article.code_lieu";
$i=mysql_query($r1);
while($yyy=mysql_fetch_array($r)AND $iii=mysql_fetch_array($i))
{
echo '<tr>';
echo '<td width="10%" >' .$yyy["ref"].'</td>';
echo ' <td width="10%">'.$yyy["designation"].'</td>';
echo ' <td width="10%">'.$yyy["unite"].'</td>';
echo ' <td width="10%">'.$yyy["quantite"].'</td>';
echo ' <td width="10%">'.$yyy["prix_un_pmp"].'</td>';
echo ' <td width="10%">'.$iii["designation_lieu"].'</td>';
echo '</tr>';
}
mysql_close();
?>
ça fonctionne trés bien il me affiche les ce que j'ai besoin