Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Use simplexml_load_file() to read XML data from a file
SUBMITTED BY:
henry1874w
DATE:
June 21, 2017, 11:54 p.m.
FORMAT:
Text only
SIZE:
157 Bytes
Raw
Download
Tweet
HITS:
225
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$xml=simplexml_load_file("note.xml") or die("Error: Cannot create object");
print_r($xml);
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus