how can i display only the country and not the whole array on Geo.php?
| From: | Louie Miranda | Date: | Mon, 23 Aug 2004 02:43:08 +0000 |
| Subject: | how can i display only the country and not the whole array on Geo.php? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14221@lists.php.net to get a copy of this message | ||
<?php
require_once('Net/Geo.php');
$net_geo = new Net_Geo();
$ip = $_SERVER['REMOTE_ADDR'];
$results = $net_geo->getRecord($ip);
print "<pre>";
print_r($results);
print "</pre>";
?>
--
Louie Miranda
http://www.axishift.com