How do i put this into a variable?
$result = mysql_query("SELECT SUM(hits) AS SumHits hits",$cn);
use the mysql fetch_row function to return the data in an array.