Voting

: three plus two?
(Example: nine)

The Note You're Voting On

ricardo at ricardomartins dot info
12 years ago
Sometimes we have xml's with hyphens nodes, like

<my_xml>
<some-node>value</some-node>
</my_xml>

You'll need to use
<?php
$simpleXmlObj
->{'some-node'}
?>

instead of
<?php
$simpleXmlObj
->some-node;
?>

<< Back to user notes page

To Top