shihao Posted December 29, 2009 Share Posted December 29, 2009 Hi all, I would like to ask a basic question, hope that you guys can help me. I would like to create a button that will save all the data entered by user into HTML format after you click it. Is that possible? I have try to click File-> save as, all the text field that I have entered would not be save. Thanks and regards Shi Hao Link to comment https://forums.phpfreaks.com/topic/186574-can-the-data-be-save-in-html/ Share on other sites More sharing options...
cags Posted December 29, 2009 Share Posted December 29, 2009 If this is on submission of a form and you wish the client to save a HTML file on their end you can use a force-download script which would give the client a Save As dialog. All you need to do is send the appropriate header information before outputting the data. Link to comment https://forums.phpfreaks.com/topic/186574-can-the-data-be-save-in-html/#findComment-985353 Share on other sites More sharing options...
shihao Posted December 29, 2009 Author Share Posted December 29, 2009 Hi cags, Thanks for your reply, anyway I have another posts which is "How do I save data into excel"?? Can you help me on this...?? Thanks. Link to comment https://forums.phpfreaks.com/topic/186574-can-the-data-be-save-in-html/#findComment-985409 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.