Author: Samy Massoud
Posted on: 2014-04-07
Package: PHP Weather
Get raw data from PHP weather class to use within your code
A great feature within PHP Weather class , you can get all weather data as array .
This will give you option to implement weather info inside your code with the way that fits your needs better .
To get weather as raw data just call set_output method and pass keyword row to it.
$weather = new weather();
$weather = set_output ('row');
$raw_data = $weather->get_weather();
Now all weather data inside $raw_data variable.
You can display any info you want with any html
Please check Online PHP weather class demo
You need to be a registered user or login to post a comment
1,369,984 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.