Question: Need a PHP code to mirror the picture attached. The code below is a foundation. Zip lookup Zip code finder... Looking for 96795 $request =
Need a PHP code to mirror the picture attached. The code below is a foundation.
Zip lookup
Zip code finder...
Looking for 96795
$request = 'http://api.geonames.org/postalCodeSearch?postalcode=96795';
$request = $request . '&country=us&username=scrawfordhpu';
$response = file_get_contents($request);
$xml = simplexml_load_string($response);
echo $xml->totalResultsCount;
echo " ";
echo $xml->code->name ;
echo " ";
echo $xml->code->adminName1 ;
?>

Zip code finder... Zip: 96707 look it up http://api.geonames.org postalCodeSearch?postalcode-96707&country-us&usemame-scrawfordhpu 1 entries found 96707 is Kapolei, Hawaii show transcribed image text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
