Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Single XML node and PHP

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #29500

    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 ”

    About Page Editor

    $about

    “;
    ?>

    Any ideas? Thanks.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.