\n"; echo "\n "; echo "\n"; echo "\n"; echo "Okullar\n"; echo "http://www.mertkaan.com/\n"; echo "mertkaan - Okul Adresleri - Dersane Adresleri - Son Eklenen Okullarin Adres, Telefon ve Faks Numaralari\n"; $q=mysqli_query($baglan,"Select * from okullar order by tarih desc limit 0,70"); if ($r= mysqli_fetch_array($q)) { do {$k = mysqli_fetch_array(mysqli_query($baglan,"Select * from kategori_okullar where id = '$r[category]'")); if ($k['subid'] == 0) { $k['subid'] = $k['id']; } $ktop = mysqli_fetch_array(mysqli_query($baglan,"Select * from kategori_okullar where id = '$k[subid]'")); $r['title'] = kysil($r['title']); $r['title'] = substr($r['title'],0,50); $r['title_x'] = str_replace (" ","-",$r['title']); echo "\n"; echo "$r[title]\n"; echo "http://www.mertkaan.com/okul/$ktop[adi_s]/$k[adi_s]/$r[title_s].html\n"; echo "$r[adres]\n"; echo "$r[tarih]\n"; echo "mertkaan.com"; echo "\n"; } while ($r = mysqli_fetch_array($q)); } echo "\n"; echo "\n"; ?>