shakeelstha Posted December 16, 2007 Share Posted December 16, 2007 I need to add new data in xml file without overwriting the existing data. How can i do it with DOM using php? Please give a complete example..... Link to comment https://forums.phpfreaks.com/topic/81924-append-new-data-in-xml/ Share on other sites More sharing options...
paul2463 Posted December 16, 2007 Share Posted December 16, 2007 $old = orgional xml file; $new = new xml data file ; $old .= $new; //$old now has the $new data appended to the end of it. is that what you meant? Link to comment https://forums.phpfreaks.com/topic/81924-append-new-data-in-xml/#findComment-416239 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.