Hello, I want to use Google Weather API
to somehow load information about the weather onto my website.HTML Code:http://www.google.com/ig/api?weather=England
Has anybody here done this before? So far, I have this code:
ThanksPHP Code:<?php
$xml = simplexml_load_file("news/api.xml");echo $xml->getName() . "<br />";foreach($xml->children() as $child)
{
echo $child->getName() . ": " . $child . "<br />";
}
?>



Reply With Quote
Bookmarks