Broomball Association of South Australia

Broomball Association of South Australia

© Broomball Association of South Australia

Men's & Women's Nationals 2022

Home

Adelaide League

Home

Other Information

Home

Shopping

Other

Statistics

Other

Website

Statistics

All Time Stats

Statistics

Hall of Fame

Statistics

Schedules

Home

Equipment

Other

Committee

Other

Broomball Video

Home

Administration

Home

Add Game Results

Home

National Champtionships 2020

Home

Adelaide Nationals 2017

Home

IFBA Worlds 2012

Home
query("INSERT INTO TG_whos_online (timestamp, ip, file) VALUES('$timestamp','".$_SERVER['REMOTE_ADDR']."','$FN')") or die("Error in who's online insert query!"); //Delete Users $delete = $mysqli->query("DELETE FROM TG_whos_online WHERE timestamp<$timeout") or die("Error in who's online delete query!"); // Query for getting visitor countrycode $country_query = "SELECT country_code2,country_name FROM iptocountry WHERE IP_FROM<=inet_aton('".$_SERVER['REMOTE_ADDR']."') AND IP_TO>=inet_aton('".$_SERVER['REMOTE_ADDR']."')"; // Executing above query $country_result = $mysqli->query($country_query); // Fetching the record set into an array $ccode_array=$country_result->fetch_assoc($country_exec); // getting the country code from the array $country_code=$ccode_array['country_code2']; // getting the country name from the array $country_name=$ccode_array['country_name']; $insert = $mysqli->query("INSERT INTO BASA_WEB_STATS (ip, page,country) VALUES('".$_SERVER['REMOTE_ADDR']."','$FN','$country_name')") or die("Error in who's online insert query!"); // } $mysqli->close(); ?>