note 48061 modified in simplexmlelement.attributes by danbrown

From: Date: Wed, 16 Sep 2009 15:39:56 +0000
Subject: note 48061 modified in simplexmlelement.attributes by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160647@lists.php.net to get a copy of this message
You can also access the node as an array to get attributes: <?php $xml = simplexml_load_file('file.xml'); echo 'Attribute: ' . $xml['attribute']; ?> --was-- You can also access the node as an array to get attributes: <?php $xml = simplexml_load_file('file.xml'); echo 'Attribute: ' . $xml['attribute']; ?> http://php.net/manual/en/simplexmlelement.attributes.php

« previous php.notes (#160647) next »