No problem...
Let's say somebody enters the following stuff in the 4 text fields of form.php:
1st text field: hello
2nd text field: 123 222 3313
3rd text field: I have just seen the movie "The Matrix" with 'Vin Diesel' and I liked it...
4th text field: is this all going to work???
That stuff will be then entered into the Q array as Qn and will then be transformed into the variables Question1, Question2, Question3 and Question4.
In the final file "file.php" I should have the following code (my syntax might be wrong here, it's just an example):
<?
echo Question1;
echo "<br>";
echo Question2;
echo "<br>";
echo Question3;
echo "<br>";
echo Question4;
echo "<br>";
?>
of course I understand that because the variables are not stored anywhere in a file that is being created they have to be converted into their values right away so that they can be hardcoded in the newly created file so the code contained in "file.php" should like like the following (again syntax will be wrong here):
<?
echo "hello";
echo "<br>";
echo "123 222 3313";
echo "<br>";
echo "I have just seen the movie \"The Matrix\" with 'Vin Diesel' and I liked it...";
echo "<br>";
echo "is this all going to work???[/";
echo "<br>";
?>
And naturally when file.php is executed that code should then output the following values:
hello
123 222 3313
I have just seen the movie "The Matrix" with 'Vin Diesel' and I liked it...
is this all going to work???
It is important to me that the file form.php maintains the ability for me to change the value of the variable $n (number of text fields) so that I can have as many as I want, and that the file process.php will then count how many variables I passed along and will print them all...
I hope I did explain it better as opposed to confuse you even more... I appreciate your help.