I'm creating a form that reads a users input, turns that input into a variable, and then turns that variable into text that is displayed on a seperate page--example:
<form>
<input type="text" name="test">
</form>
$test2 = fopen("test.php", "a");
fwrite($test2, $test)
fclose($test2)
This is the basic look(although the form is more complex). I'm wondering how i can input $test as well as many other form variables into a single array that grows as more data is put in and then is saved to the seperate file. If anyone can help me i would really appreciate it.