How to post the submitted information in an HTML form to a text file?

SamiBig

New member
I'm learning HTML and i have a question about forms.
i made a form like this :
<form action="info.txt" method="post">
<fieldset>
<legend> Personal info </legend>
Name : <input type="text" name="Name" value="Enter your name" /> <br />
Email : <input type="text" name="email" value="Enter your Email address" /> <br />
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</fieldset>
</form>

How can i make it so when i press Submit, the entered information will be posted into a text file? in this case, info.txt.
should i enter an attribute in the form's start tag, or another tag inside the form?

Thanks!
 
Back
Top