WartaOnline Universitas Airlangga Kumpulan Berita Universitas Airlangga http://unair.ac.id Tue, 22 Jan 2008 14:16:37 +0700 (c)2008 Direktorat Sistem Informasi [DSI Unair] fandy.kusjanto'; include "../connect.unair.php"; $query = mysql_query("select * from warta where kategori < 3 order by row_id desc limit 0,20"); while ($dt=mysql_fetch_array($query)){ $abs = substr($dt[isi],100,250); $file_xml .= ' '.htmlspecialchars($dt[judul], ENT_QUOTES).' http://unair.ac.id/berita.unair.php?id='.$dt[row_id].' '.$dt[penulis].' '.htmlspecialchars($abs, ENT_QUOTES).' ... '.$dt[tanggal].' '; } $file_xml .= ' '; fwrite($file_tmp,$file_xml); echo ' '; ?>