Okay, I think I found the problem !
The countrynames in table "statistik_laender" are not identical with the Names given in file "functions_statistik.php"
So the query
Code:
$DB_site->query("
UPDATE " . TABLE_PREFIX . "statistik_laender
SET Zaehler_Browsersprache = Zaehler_Browsersprache +1
WHERE (Name_Land = '$browser_sprache')
");
can't work while trying to compare "Name_Land" with "$browser_sprache"....
Zelda-King, if you can do me favour, please replace the following line in file
functions_statistik.php:
Code:
elseif(ereg("us", $sprache))$browser_sprache="UnitedStates";
with:
Code:
elseif(ereg("us", $sprache))$browser_sprache="United States";
and try if it works. The problem only occur on countries with 2 separated words like United States, United Kingdom etc.
Countries like Germany, Venezuela etc. are working
So I have to fix the complete 2 listings in functions_statistik.php for Browser language and countries by host :tired: