That article doesn't explain how to read XML... The most straightforward way of reading XML is to use SimpleXML in PHP5:
<?php
$string = <<<XML
<?xml version="1.0" encoding="ISO-8859-1">
<relation>
<name value="Willem" />
<phone value="0123456789" />
</relation>
XML;
$xml = simplexml_load_string($str
var_dump($xml);
?>
Read the docs here: http://www.php.net/manual/
Main Topics
Browse All Topics





by: angelIIIPosted on 2005-08-25 at 01:07:49ID: 14749898
http://www.xml.com/pub/a/2 003/06/18/ php-xml.ht ml