Re: data
Brought to you by:
iridium
|
From: Martin G. <gim...@gi...> - 2002-07-17 18:01:18
|
"Martin Sweeney" <sw...@ro...> writes:
> Hi again;
>
> where in v 1.61 can i find listings of the various data field names
> (eg temp_c for temerature in *c) ?
Try using print_r() on the result of a call to process_metar():
echo "<pre>\n";
print_r(process_metar(get_metar('EKAH')));
echo "</pre>\n";
You can also look for '$decoded_metar[' in phpweather.inc.
--
Martin Geisler My GnuPG Key: 0xF7F6B57B
See http://gimpster.com/ and http://phpweather.net/ for:
PHP Weather => Shows the current weather on your webpage and
PHP Shell => A telnet-connection (almost :-) in a PHP page.
|