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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/217296-saving-as-a-xml/#findComment-1128397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.