Log in

View Full Version : help with html form



Mace
30-05-2011, 04:33 AM
i need help with html forms, i need a form such as:

<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>
to save what ever the user puts in the field, saves it to a certain file name.
what would the code be for this? thanks!

Aidonia
30-05-2011, 02:29 PM
You should use PHP for this task.

Take a look at the PHP functions:

fwrite (http://php.net/fwrite)
fread (http://php.net/fread)
fclose (http://php.net/fclose)

Want to hide these adverts? Register an account for free!