city . "\n"; $geo['state'] = $GEOIP_REGION_NAME[$record->country_code][$record->region]; echo $geoip['city']; // Echos the city echo $geoip['state']; // echos the state geoip_close($gi); ?>