$toplamhit = mysql_fetch_array(mysql_query("SELECT SUM (hit) as TOPLAM FROM user")); echo $toplamhit['TOPLAM'];