/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $information = $xml->xpath("/xml_api_reply/weather/current_conditions/condition"); echo $information[0]->attributes(); ?>
URL: http://ortanotes.tumblr.com/post/200469319/current-weather-in-3-lines-of-php
Comments
