c_pattle Posted October 30, 2010 Share Posted October 30, 2010 I have a .php code that gets data from a database and saves it in a variables as xml. However how can I then save all of the data in this variable as a .xml file somewhere? Thanks for any help. Link to comment https://forums.phpfreaks.com/topic/217296-saving-as-a-xml/ Share on other sites More sharing options...
.josh Posted October 30, 2010 Share Posted October 30, 2010 depending on the amount of data... file_put_contents or else fopen, fwrite, fclose Link to comment https://forums.phpfreaks.com/topic/217296-saving-as-a-xml/#findComment-1128397 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.