I am trying to put xml data on an html page via php. I’ve done this before but now I only have one xml node. This is my XML file:
And this is the PHP I am using that doesn’t work. It returns no errors, but the text isnt in the textbox like it should.
$doc = new DOMDocument();
$doc->load( TEMPLATEPATH . ‘/flash/xml/about.xml’ );
$aboutxml = $doc->getElementsByTagName( “about” );
$about = $aboutxml->nodeValue;
Any ideas? Thanks.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".