[BNM] Create XML with PHP 4 question...
Dominic Mitchell
dom at happygiraffe.net
Thu Mar 1 17:46:03 GMT 2007
On Thu, Mar 01, 2007 at 03:27:45PM -0000, Alan Braddish wrote:
> 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?
I'm afraid that I'm not familiar enough with PHP to be able to help
directly. But I would like to point out this excellent page, "HOWTO
Avoid Being Called a Bozo When Producing XML":
http://hsivonen.iki.fi/producing-xml/
-Dom
More information about the BNMlist
mailing list. Powered by Wessex Networks