$countryArr[$k]['CountryCount'] = $countArr['CountryCount']; $countryArr[$k]['GeorefSpecimensPerCountry'] = $countArr['GeorefSpecimensPerCountry']; $countryArr[$k]['IDSpecimensPerCountry'] = $countArr['IDSpecimensPerCountry']; $countryArr[$k]['IDGeorefSpecimensPerCountry'] = $countArr['IDGeorefSpecimensPerCountry']; } } ksort($countryArr, SORT_STRING | SORT_FLAG_CASE); } } } $c++; } $results['SpecimensNullLatitude'] = $results['SpecimenCount'] - $results['GeorefCount']; } if ($action == "Update Statistics") { $collManager->batchUpdateStatistics($collId); echo '<script type="text/javascript">window.location="collstats.php?collid=' . $collId . '"</script>'; } } if ($action != "Update Statistics") { ?> <html> <head> <meta name="keywords" content="Natural history collections statistics" /> <title><?php echo $defaultTitle; ?> Collection Statistics</title> <link rel="stylesheet" href="../../css/base.css?<?php echo $CSS_VERSION; ?>