Author: Samy Massoud
Updated on: 2014-04-07
Posted on: 2014-04-07
Package: PHP Weather
Get raw data from PHP weather class to use within your code
![](/blog/package/8548/post/1/view/view.gif)
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.
For example
$weather = new weather();
$weather->set_city('maldives');
$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
Login Immediately with your account on:
![]() | ![]() | ||
![]() | ![]() | ||
![]() | ![]() |
Comments:
No comments were submitted yet.