$sql=mysql_query("select siparis.no as siparisno from siparis left join odeme on (siparis.odemeNo=odeme.no) where odeme.durum=1");