@cenq_beacher Anladığım kadarıyla aşağıda çözümü ilettim bilginize.

<?php

session_start();

if (!isset($_SESSION["kullanici_adi"])) {

    echo "<table width='750' border='0' style='float:left;'>
<tr>
<th width='63' scope='col'>üye Ol </th>
<th width='74' scope='col'>üye Ol </th>
<th width='267' scope='col'>üye Ol </th>
<th width='80' scope='col'>üye Ol </th>
<th width='80' scope='col'>üye Ol </th>
<th width='60' scope='col'>üye Ol </th>
<th width='86' scope='col'>üye Ol </th>
</tr>
</table>";
} else {
    include("ayar/baglan.php");
    $bul = mysql_query("select * from tahmin where durum=0 ORDER BY id DESC ");
    while ($ama = mysql_fetch_array($bul)) {
        if ($ama["durum"] == 0) {
            $durum = "<img src='img/durum/beklemede.png'/>";
        }
        echo "<table width='750' border='0' style='float:left;'>
<tr>
<th width='63' scope='col'>{$ama['kod']}</th>
<th width='74' scope='col'>{$ama['macsaat']}</th>
<th width='267' scope='col'>{$ama['ev']}-{$ama['dep']}</th>
<th width='80' scope='col'>{$ama['skor']}</th>
<th width='80' scope='col'>{$ama['tahmin']}</th>
<th width='60' scope='col'>{$ama['oran']}</th>
<th width='86' scope='col'>$durum</th>
</tr>
</table>";
    }
}
?>