Index PHPmyEasyWeather PHPmyEasyWeather Homepage

displayEasyForecast

displayEasyForecast -- return decoded weather forecast in HTML

Description

string displayEasyForecast (string $TAF, string $LANGUAGE);

displayEasyForecast works equivalent to displayEasyWeather but returns the current forecast out of a TAF string in html format. It is one more of the very convenient "display" - functions which allow you to have weather information on your webpage easily. Once you got a TAF - code either from getTafFromWWW or from anywhere else just use this function to encode TAF code to have weather info in clear language. Check the index.html of the PHPmyEasyWeather package to see how easy it works.

As first parameter it expects the TAF code, as second the language, it can be either "EN" or "DE" for english and german, other languages are not yet provided.


Previous Up Next