PHP Classes

File: example-1

Recommend this page to a friend!
  Classes of Matthew Johnston   Current City Weather   example-1   Download  
File: example-1
Role: Example script
Content type: text/plain
Description: Example 1
Class: Current City Weather
Get weather forecast of a city from Wunderground
Author: By
Last change:
Date: 14 years ago
Size: 163 bytes
 

Contents

Class file image Download
<?php
require_once 'Weather_Class.php';
$weather = new Weather("Edmond", "Oklahoma");

echo
"<pre>";
print_r($weather->conditions);
echo
"</pre><br/>";

?>