error_reporting(E_ALL ^ E_NOTICE); include "fonksiyon.php"; db_baglan(); global $site_url; @mysql_query("SET NAMES'utf8'"); $sql = "select * from haberler where id order by id desc"; $sorgu1 = mysql_query ($sql); $sayi = mysql_num_rows ($sorgu1); $sayac="1"; for($i=0;$i<$sayi;$i++){ $id= mysql_result ($sorgu1,$i,"id"); $haber_baslik= mysql_result ($sorgu1,$i,"haber_baslik"); $haber_ozet= mysql_result ($sorgu1,$i,"haber_ozet"); ?>
echo $haber_baslik; ?>
echo $haber_ozet; ?>
} ?>