selam arkadaşlar.

ben makalenin id'sine göre yorumları veritabanınan çekmek ve while ile loop etmek istiyorum ama şöyle bir hata geliyor:

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\pressexpress\viewarticle.php on line 38

Yorumlar:
<?php 
$sorgu = mysql_query("SELECT * FROM yorumlar WHERE a_id='$id'" ); 
while ($kayit = mysql_fetch_array($sorgu, MYSQL_ASSOC))
{
	$name=$kayit["name"];
	$email=$kayit["email"];
	$website=$kayit["website"];
	$comment=$kayit["comment"];
	$comment_id=$kayit["comment_id"];
	$date=$kayit["date"];
?>
<table width="60%" border="0">
  <tr>
    <td width="20%"><a href="<?php echo $website; ?>"><?php echo $name; ?></a></td>
    <td width="20%"><?php echo $date; ?></td>
    <td width="20%"><strong><?php echo $comment_id; ?></td>
  </tr>
  <tr>
    <td colspan="3"><?php echo $comment; ?></td>
  </tr>
</table>
<?php } ?>