Jump to content

Can the data be save in html?


shihao

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.