Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php read xml from url

$xml=simplexml_load_file("filename.xml") or die("Error: Cannot create object");
echo $xml->detaildata->lattitude; // As SimpleXMLElement Object
// ... OR ...
echo $xml->detaildata->lattitude->__toString(); // As String
 
PREVIOUS NEXT
Tagged: #php #read #xml #url
ADD COMMENT
Topic
Name
9+4 =