$hit = @mysql_query("SELECT SUM(y_hit) as sonuc FROM yazilar"); $sonuc = mysql_fetch_assoc($hit); echo $sonuc['sonuc'];