function weather_get_latitude_longitude in Weather 6.5
1 call to weather_get_latitude_longitude()
- _weather_calculate_sunrise_sunset in ./
weather_parser.inc - Calculate the times of sunrise and sunset
File
- ./
weather.module, line 1955 - Display <acronym title="METeorological Aerodrome Report">METAR</acronym> weather data from anywhere in the world
Code
function weather_get_latitude_longitude($wanted_icao) {
$sql = "SELECT latitude, longitude FROM {weather_icao} WHERE icao='%s'";
$result = db_query($sql, $wanted_icao);
$row = db_fetch_array($result);
return $row;
}