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 ;

?>

Need a PHP code to mirror the picture attached. The code below

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!