Unable to insertBefore on an XML file

前端 未结 2 1733
粉色の甜心
粉色の甜心 2021-01-28 03:31

I\'m trying to write a script that will update an RSS XML file. I want it to take the existing file and add a new item to the top of the items list. I\'ve previous gotten it to

2条回答
  •  后悔当初
    2021-01-28 03:53

    "What am I missing?"

    The output: $rssDoc->save( 'filename.xml' ) http://php.net/domdocument.save.php

提交回复
热议问题