SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist AlexC's Avatar
    Join Date
    Oct 2000
    Location
    Sheffield, UK
    Posts
    437
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Writing to an xml file

    Hi,

    i wondered if this was possible:

    i ahve a simple xml file:
    Code:
    <?xml line ?>
    
    <questions>
        <question>
        <questiontitle>TITLE</question>
        </question>
    </questions>
    i need to replace where it says TITLE using php from a form input - any ideas?
    Nearly 7 years old!

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I dunno what that first line is supposed to be, but I imagine you'd just want to use .htaccess to tell the server to parse .xml files for PHP code.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •