PDA

View Full Version : Generate XML file from an HTML form using PHP?


andrewf
06-20-2005, 05:15 PM
Hello,

I am looking to create an HTML form that will output an XML file, possibly using PHP...

I have created what I would like the form to look like here:

http://www.ek3.com/ek3_mediaservices/genxml/create_xml.htm


And this is what I would like the form to generate:

http://www.ek3.com/ek3_mediaservices/genxml/output_from_form.xml


You will notice 2 buttons at the top... One would add a new Category and the other would add a new "Video". And there would also need to be Delete buttons for each Category and Video.

So my question is: Is this possible using PHP? I am somewhat new to PHP and have never used it to generate an XML file before...


If anyone has any ideas let me know.


Thanks, Andrew