Menu

Form Data To XML File?

Help
John Rippy
2008-11-15
2013-06-03
  • John Rippy

    John Rippy - 2008-11-15

    Has anyone tried using their form to export an XML file instead of a text file?  Any help on this would be amazing!!! 

     
    • TNTEverett

      TNTEverett - 2008-11-15

      It's quit a bit of work that would likely not please everyone.  This generator was never designed to do so and probably never will.  It's open sorce and it's free.  You are welcome to customized it any way you like. 

       
    • John Rippy

      John Rippy - 2008-11-15

      Ah, I guess I was thinking it would be an easy solution, but then again my strength lies in video so I'm a little out of my element.  Have a great weekend and thanks for the answer none the less.

      John

       
    • rik

      rik - 2008-12-17

      John Rippy said: (2008-11-15 21:12)
      "Has anyone tried using their form to export an XML file instead of a text file?"

      then how can i export my form's results into a text-file?

       
      • TNTEverett

        TNTEverett - 2008-12-25

        If you chose the text option then a text file will be created in the admin folder.  If not you will have to create the form again with this option or add it manually to the processor file. 

        Looks something like this:
        $make=fopen("admin/data.dat","a");
        $to_put="";
        $to_put .= $firstname."|".$lastname."|".$email."
        ";
        fwrite($make,$to_put);

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.