[snip]
So I have:
$doc->save("/tmp/test.xml");
This does not work
Thoughts?
[/snip]
you have this in your previous email $doc->dump_mem() . Just do this
$file = $doc->dump_mem();
then write $file to a file.
there is also this
http://www.php.net/manual/en/function.domdocument-dump-file.p
I have created an XML, via php, and doing a dump_mem() everything looks as
expected. Now I need to have it write to a file. I have found the function
DOMDocument->save(); however, when used it appears that it is unknown. I
believe this may be deprecated or because I am using domxml_new_doc()
2 matches
Mail list logo