View Single Post
Old 09-10-2002, 03:28 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,532
sde is on a distinguished road
submitting arrays

I have an array that i need to submit to the next page.

<form method=post action=test.php>

<input type=hidden name=questionArray[] value=$ob->questionArray>

<input type=submit value=\"Start Test >>\">

</form>

on the next page, .. when i print $questionArray[0] , it just returns the word "Array"

i've done this many times before, i can't figure out why it isn't working.

and btw.. $ob->questionArray is a valid array. on the same page of this form, i am looping the array and printing the results.
sde is offline   Reply With Quote