I create an array through a form's multiple SELECT list/menu like so:
Code: Select all
<select name="people[]" size="4" multiple>
<option value="14">name1</option>
<option value="4">name2</option>
<option value="8">name3</option>
<option value="3">name4</option>
</select>Page 2:
On page 2, I access that array using a FOR loop like so:
Code: Select all
$people[$i];Page 3:
I can pass many variables from page 2 to page 3 using a form with the POST method, however, I can't seem to pass the array from page 2 to page 3.
I've passed the value of variables over multiple pages using a form's hidden input types, but I'm not sure how to do that with an array...or even if it's possible.
Basically, I'm not sure how to pass the array from page 1 to page 2 and then on to page 3. I feel like I'm missing something basic
Thanks in advance for any assistance,
-Craig