$hackviews = $DB_site->query_first("SELECT SUM(views) AS threadviews FROM thread WHERE forumid=19'); $totalhackviews=number_format($hackviews[threadviews]);