Doğru çözüm!

<table width="600">
<?php

$adet_say=12;
for($x=0; $x < $adet_say; $x++)
{
    $ESS=mysql_fetch_array($EncokSatanSorgusu);
    if($x%6==0)
    {
        echo'<tr align="center">';
    }
       ?> <td> <img src="/image/data/urunler/<? echo $ESS['Urun_Kodu']; ?>_0.jpg" width="100" height="150"/>  </td>
       
    <? if($x%6==5)
    {
        echo'</tr>';
    }
}
?>
<tr>
<td colspan="6" align="center">

</td>
</tr>
</table>
html ile alakasını hala çok merak ediyorum