PDA

View Full Version : Writing XML with PHP



Medyman
12-14-2007, 06:49 PM
Hello Everyone....

I'm trying to generate some XML files on the fly based on PHP/MySQL values. So the logic is that I have a form through which some data is entered into a MySQL table.

That much I can handle.

Then what I'd like to do is to generate an XML document (using PHP) based on those values (I suppose through querying the MySQL table).

I found this: http://simonwillison.net/2003/Apr/29/xmlWriter/
It seems like what I'm looking for but I have no idea how to manipulate it to get it to work for my purposes.

If anyone can be of help, I'd greatly greatly appreciate it.