tablonun float:left yap daha sonra

$satir=0;
while {
echo  '<td height="120" width="120"><img src="picture/<?PHP echo $resim;?>" height="120" border="0"></td>';
$satir++;
if ($satir == 3)
{
echo "<br />";
}
}
denemedim ama çalışması lazım