/ Published in: PHP

aun no acabado
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $xmlpaises = 'http://ws.geonames.org/countryInfo?lang=es'; // http://ws.geonames.org/children?geonameId=2510769&lang=es $i = 0; foreach ($paises->country as $pais) { echo $pais->isoNumeric.' - '.$pais->geonameId.' - '.$pais->countryName.'</br>'; $i++; } echo $i; ?>
Comments
