store data from a form using just HTML

后端 未结 5 1145
我寻月下人不归
我寻月下人不归 2021-01-03 07:47

I want to create a form (will be filled by users) and store the data in excel stylesheet without using php just HTML ,is that possible?

I dont want to store data an

5条回答
  •  轮回少年
    2021-01-03 08:04

    To do what you want to do simply it will not be possible without php or some advanced HTML5 local storage.

    I've done this by using simple PHP script to have form data get saved to a .txt file and then open the resulting .txt file in Excel and use the text to columns feature.

    I have a HTML form which collects a field where people enter their email address. I want the form to post the email address to a text file. Please help! Will award maximum points to the one who will answer me correctly! 2 years ago Report Abuse Additional Details Please paste entire code to do this! 2 years ago

    Form:

    Name: Email:

    PHP:

    Create a new page saved as .php with this code. All you need is the form and the PHP script on the server for this to work :)

    
    

提交回复
热议问题