<?xml version="1.0" encoding="ISO-8859-1"?>
<note>
<to>George</to>
<from>John</from>
<heading>Reminder</heading>
<body>Don't forget the meeting!</body>
</note>
how to use php to echo xml information
<?xml version="1.0" encoding="ISO-8859-1"?>
<note>
<to>George</to>
<from>John</from>
<heading>Reminder</heading>
<body>Don't forget the meeting!</body>
</note>
how to use php to echo xml information
First you need to get your XML File. Then just echo what you want. Example:
$file = file_get_contents('http://example.com/rss');
echo $file;