PHP xml_encode using DOMDocument; Convert Array to XML; json_encode

Reply to comment

Thanks, it is extremely useful.