Net/Geo.php, getting only the country?

From: Date: Fri, 23 Jul 2004 06:29:03 +0000
Subject: Net/Geo.php, getting only the country?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13822@lists.php.net to get a copy of this message
I got this Net/Geo working. But i could not get how to parse the information out of an array? of $results on a database, i did was foreach ($results as $row) { but it wont work on the code below.. any suggestions? .. require_once('Net/Geo.php'); $net_geo = new Net_Geo(); $ip = $_SERVER['REMOTE_ADDR']; $results = $net_geo->getRecord($ip); .. -- Louie Miranda http://www.axishift.com

« previous php.pear.general (#13822) next »