tmyonline Posted May 26, 2009 Share Posted May 26, 2009 Hi guys, I need to export a web report to a CSV file. I already know how to do it. However, as of now, I have made it so that when someone clicks the "export" button, it will export the data to a predefined directory which may not exist on some computers (I know this way is not desirable). Is there a way that when he clicks the export button, it will pop up a little wizard/window which will present two options - ask the user whether he wants to open the CSV file or save the file. If he chooses save, he will be able to save it to a place of his choice ? How should I do it ? Thanks a lot. Link to comment https://forums.phpfreaks.com/topic/159743-export-data-to-a-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.