Like this:
****
<head><title>Textboxes</title></head>
<body>
<form action="textboxes.php" method="post">
<input type="text" name="box1" />
<input type="text" name="box2" />
<input type="submit" name="submit" value="Submit" />
</form>
<?php
if(isset($_POST['submit'])){
$textone = $_POST['box1'];
$texttwo = $_POST['box2'];
$entry = ("Box1:$textone\nBox2:$texttwo\n\n");
$fp = fopen("textboxes.txt", "a");
fputs($fp, $entry);
fclose($fp);
}
?>
</body>
****
(put your html start/close tags where the *'s are)
A couple notes: this is bare bones at best, I'm a newbie (at best). Obviously you could add a lot more functionality. Work it, girl!
Also, though I don't know much about it, SECURITY is a MAJOR consideration. Research it deeply. Remember to set the permissions for the text file(see the last post). Create a blank text file, this example uses one called "textboxes.txt); upload it to the same directory you put your php file (this example, "textboxes.php") in, and have some fun! HIH