/ Published in: PHP

URL: http://ortanotes.tumblr.com/post/200469319/current-weather-in-3-lines-of-php
Expand |
Embed | Plain Text
<?php $xml = simplexml_load_file('http://www.google.com/ig/api?weather=ADDRESS'); $information = $xml->xpath("/xml_api_reply/weather/current_conditions/condition"); ?>
You need to login to post a comment.