<?php $aaa = mysql_query("select * from resimler where gID='$id' order by id desc"); if(mysql_num_rows($aaa)=="0"){ echo '<font color="blue"><b>Bu galeriye eklenmiş bir resim bulunamadı! Lütfen daha sonra tekrar deneyin.</b></font>'; } else { ?>
<a class='highslide' href='<?php echo $aaa['resimyolu']; ?>' onclick="return hs.expand(this)">
<img src='<?php echo $aaa['thumb']; ?>' width="150" height="150" alt='<?php echo $aaa['text']; ?>' /></a>
<?php } ?>


Bunu deneyin bakalım