<?php
$baglanti = odbc_connect("DBAdı","Kullanıcı","Şifre");
$istek = odbc_exec($baglanti,"Select Userid,Date,dupeitem,sayisi FROM Gokhan");
echo '<table align="center">
<tr>
<td align="center">Dupeci</td><td align="center">Dupe Item</td><td align="center">Item Sayısı</td><td align="center">Zaman</td>
</tr>';
while(odbc_fetch_row($istek))
{
$duper = odbc_result($istek, 1);
$zaman = odbc_result($istek, 2);
$dupeitem = odbc_result($istek, 3);
$dupesayisi = odbc_result($istek, 4);
echo '<tr>
<td align="center">'.$duper.'</td><td align="center">'.$dupeitem.'</td><td align="center">'.$dupesayisi.'</td><td align="center">'.$zaman.'</td>
</tr>';
}
echo '</table>';
?>