hata nerede acaba. sonuçları tablo içinde ver diyorum. sonuç sayısı kadar tablo veriyor ama içleri boş
<?
include("config.php");
$name=$_POST['name'];
$message=$_POST['message'];
$time=date("h:ia d/j/y");
mysql_connect($host,$username,$password);
mysql_select_db($database);
?>
<html>
<head>
<title>Gilnet News - www.gilnet.co.uk</title>
<style type="text/css">
<!--
.style2 {
font-size: xx-small;
color: #999999;
}
-->
</style>
</head>
<body>
<?
$harf=$_GET['harf'];
$result = mysql_query("SELECT id,name FROM konular WHERE name LIKE '".$harf."%'");
while($r=mysql_fetch_array($result))
{
$time=$r["time"];
$id=$r["id"];
$name=$r["name"];
$message=$r["message"];
?>
<div align="center">
<table border="1" style="border-collapse: collapse" width="51%" cellpadding="0" bordercolor="#C0C0C0" height="75">
<tr>
<td width="140" bgcolor="#EEEEEE" valign="top"><p align="center"><br>
<? echo "<a href=\"read_more.php?id=$r[id]\">$message</a>"; ?> </td>
</tr>
</table>
</div>
<p>
<? }
mysql_close();
?>
</body>
</html>