PHP Classes

use PHP Weather class to get row data - PHP Weather package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP Weather PHP Weather   Blog PHP Weather package blog   RSS 1.0 feed RSS 2.0 feed   Blog use PHP Weather class...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 4

Last month viewers: 1

Package: PHP Weather

Get raw data from PHP weather class to use within your code




Loaded Article

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.

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





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.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP Weather PHP Weather   Blog PHP Weather package blog   RSS 1.0 feed RSS 2.0 feed   Blog use PHP Weather class...