$sum_userfield = $DB_site->query_first("SELECT SUM(fieldx) as total FROM " . TABLE_PREFIX . "userfield");