voila j'a un ptit porbleme, je fais une requet (while) donc tableau je voudrai faire un affichage du genre :
1 . 2 . 3
4 . 5 . 6
au lieu de
1
2
3
4
5
6
donc j'ai un script qui marche sous ie mais pas sous mozilla, je trouve ça zab ou est mon erreur ?
voici mon script :
$req="SELECT * from scat where cat='11' order by scat ";
$blup=mysql_query($req);
echo "<table width=\"500\" border=\"0\" align=\"center\" cellpadding=\"2\" cellspacing=\"3\"> \n";
echo "<tr>";
$i=1;
while ($res = mysql_fetch_array($blup)) {
echo "<td>";
if($t==0){$t=1;}
echo "".$res[scat]."";
if ($i % 3 == 0)
echo "</td>";
$i++;
$t=$t+1;
echo "</tr>";
}
echo "</table> \n";
D'avance merci
qui s'affiche en haut à gauche de ce sujet