NOKProduction adlı üyeden alıntı: mesajı görüntüle
<?
$sirano = 0;
$sorgu=mysql_query("SELECT * FROM videolar order by hit desc LIMIT 12");  
while($ciz=mysql_fetch_array($sorgu)){
$nill=herma($ciz['baslik']);
if (($sirano%4)==0) { 
    echo '<th scope="col">';
} else { 
    echo '<td>';
}
?> 
<div align="center">
                                  <table width="136" 
                                border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tbody>
                                      <tr>
                                        <td colspan="3" height="0"><img 
                                src="index_files/category.gif" /></td>
                                      </tr>
                                      <tr>
                                        <td width="13"><img 
                                src="index_files/categorz.gif" /></td>
                                        <td width="110"><div align="center"><a href="oyunlar-<? echo $ciz['id'];?>-<? echo $nill;?>.html" title="<? echo $ciz['baslik'];?>"><img src="<? echo $ciz['resim'];?>" width="109" height="82" border="0"></a></div></td>
                                        <td width="13"><img 
                                src="index_files/categos0.gif" /></td>
                                      </tr>
                                      <tr>
                                        <td colspan="3"><img 
                                src="index_files/categos1.gif" /></td>
                                      </tr>
                                    </tbody>
                                  </table>
                                  <a href="oyunlar-<? echo $ciz['id'];?>-<? echo $nill;?>.html" class="ara1" title="<? echo $ciz['baslik'];?>"><? echo $ciz['baslik'];?></a><br>
<a href="oyunlar-<? echo $ciz['id'];?>-<? echo $nill;?>.html" class="kategori1" title="<? echo $ciz['baslik'];?>"><? echo $ciz['hit'];?> kez oynandı</a>
                                </div>
<?php
                    $sirano++;
                    if (($sirano%4)==0) {
                        echo '</th>'; 
                    } else {
                        echo '</td>';
                    }
}
?>
dener misin ?
Olmadı hocam görüntü aşağıdaki gibi 4'ten sonra aşağı inmesi gerekiyordu;