<?php
$hostname = "host";
$username = "user";
$password = "pass";
$database = "db";
mysql_connect($hostname, $username, $password);
mysql_select_db($database); // hangi db'ye bağlanacağımızı seçtik.
$sorgu = "SELECT * FROM `yorumlar` WHERE onay = 0 LIMIT 20";
$sonuc = mysql_query($sorgu);
$id = $_GET['id'];
echo '<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="1">
<tr>
<td width="3%" height="19" align="center">onay</td>
<td width="34%" height="19" align="center">Yazılan</td>
<td width="17%" height="19" align="center">Yazan</td>
<td width="19%" height="19" align="center">Email</td>
<td width="20%" height="19" align="center">İçerik</td>
<td width="7%" height="19" align="center">Göster</td>
</tr>';
while ($goster = mysql_fetch_array($sonuc)) {
echo '<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="1">
<tr>
<td width="3%" height="1">
<form method="POST" action="ok.php">
<p align="center">
<input type="checkbox" name="box" value="'.$id.'"></p>
</td>
<td width="34%" height="1">'.$goster[yorumkonu].'</td>
<td width="17%" height="1">'.$goster[yazar].'</td>
<td width="19%" height="1">'.$goster[email].'</td>
<td width="20%" height="1">'.$goster[icerik].'</td>
<td width="7%" height="1">'.$goster[goster].'</td>
</tr>
</form>
</table>';
}
echo '<form method="POST" action="ok.php">
<input type="button" value="submit" name="gonder">
</form>';
?>Buraya Kadar herşey Tamam ok.php Dosyasına nasıl bir Kod yazmalıyım acaba ?