tendolla — 2011-06-23T05:51:43-04:00 — #1
I got XML data in variable made with DOMdocument from SQL data. I know I can save the XML file with DOMDocument-save() into a file. But say I had a link and when user clicks this link, i want to create the XML then, not before hand. And offer this XML file to user when he clicked the link. And XML data will be built based on the ID carried in the link. I am a bit confused.
gopalmer — 2011-06-23T06:26:40-04:00 — #2
Just output the XML with header('Content-type: text/xml');
tendolla — 2011-06-23T06:31:34-04:00 — #3
Yeah just figured that out, problem solved. Was thinking a simple problem too complicated.