If those fields have the same NAME, ie.
<input type="text" name="user_input">
<input type="text" name="user_input">
<input type="text" name="user_input">
<input type="text" name="user_input">
When the form that encloses these input's is submitted then the PHP variable on the server would be:
$_GET['user_input']
or
$_POST['user_input']
depending on your method get or post.
It will be an array containing the values of all form elements with the name 'user_input' that belongs to the form that was submitted.
In the PHP file that the form is submitted to try this:
var_export($_GET['user_input'])
or $_POST, whichever you are using and it will dump the structure of array where you should see the values that you had entered into the forms before submission.
This will give you a clear idea of how to retrieve the individual values from that array.
Reputation Points: 37
Solved Threads: 3
Junior Poster in Training
Offline 71 posts
since Sep 2007