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:
Code:
This is my about page text.
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.
Code:
load( TEMPLATEPATH . ‘/flash/xml/about.xml’ );
$aboutxml = $doc->getElementsByTagName( “about” );
$about = $aboutxml->nodeValue;
echo ”
“;
?>
Any ideas? Thanks.