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.
$aboutxml = $doc->getElementsByTagName( “about” );
$about = $aboutxml->nodeValue;
Any ideas? Thanks.
You must be logged in to reply to this topic.