Salut a tous !!!! jefais un site de vetements contenant une boutique virtuelle d'articles et g voudrais afficher ces article sous forme de matrice(de caractère : img, la gamme, le nom, la prix et la description d'un article) de 4 lignes et 3 colonnes mais hélas je n'y arrive pas si quelqu'un peut m'aider Merci d'avance
Voici un bout de mon script:
<--------------------debut-------------------->
<table border="0" method="post" action="passby.php">
<?
if(!isset($_GET['prod']))
{
require('inc_connect.php');
$rek="select * from produit where nom='chemise'";
$resco=mysql_query($rek);
$res=ymysql_query($rek,$deb,$nbre);
$result=mysql_num_rows($resco);
if(mysql_num_rows($res)!=0)
{
while($data=mysql_fetch_array($res))
{
echo"<tr>";
for($i=0; $i<4; $i++)
{
echo"<td><img src=".$data['img']."><br><br><font color='black'><u><b>".$data[
'gamme'].
"</b></u> <br>".$data[
'nom'].
"<br><font color=''>".number_format($data['prix'], 0,'.',' ').
"<br><a href='la_boutique.php?prod=".$data['idpro']."'>Panier</a><br><br><br>";
echo"</td>";
}
echo"</tr>";
}
}
else
{
echo "<tr class='tab_bg_1'><td colspan='8' ><font color='red'><center>
<strong>AUCUN ENREGISTREMENT DISPONIBLE</strong></center></font></td></tr>";
}
}?>
</table>
<--------------------fin-------------------->
Merci d'avance
Molto y passa 
Le retour fera pitié