[BNM] Create XML with PHP 4 question...

Alan Braddish alan at webspoke.co.uk
Thu Mar 1 15:27:45 GMT 2007


Hi All,

I've been given the task of creating an XML file using PHP 4 from data in a
MySQL db.  However, not having done any XML in PHP before, I was wondering
if anybody could enlighten me as to the best method to use?

I would rather avoid having to manually echo the <tag> and </tag> tags out
to a file.

What's the DOM object/functions I should be using in PHP to achieve this? 

Many thanks for any help,
Alan





More information about the BNMlist mailing list. Powered by Wessex Networks