sql("SELECT * FROM galeri WHERE galeriID= '".$_GET['g']."' AND tipi='1' "); $row = mysql_fetch_array($db); $db2 = new db(); $db2 = $db2->sql("SELECT * FROM galeri WHERE tipi='1' AND katagori='".$_GET['cid']."' AND altkatagori='".$row['altkatagori']."' ORDER BY baslik ASC"); $db3 = new db(); $db3 = $db3->sql("SELECT * FROM altkatagori WHERE altkatagoriID='".$_GET['cid2']."' "); $row3 = mysql_fetch_array($db3); ?>
  • <? echo $row['dipnot']; ?>