| Index | PHPmyEasyWeather | PHPmyEasyWeather Homepage |
getCountries -- return an array containing all countries
Array getCountries ();
getCountries returns an array containing all 2-letter indexes and countries (seperated by ";") listed in the icao_db directory.
Example:
<?
include ("phpmyeasyweather.inc.php");
$foo=getCountries(); for ($bar=0;$bar<count($foo);$bar++) { echo $foo[$bar] . "<br>"; }
?>
will return a list looking like this:
AF; Afghanistan AL; Albania DZ; Algeria AO; Angola ...
| Previous | Up | Next |