this can be done through many ways:

1. serialization: serialize() the array and then send it as a string,
deserialize it back in form2
2. join the arrays with a seperator and send as one string, and split it
back in form2
3. use hidden fields with same name whose name is similar too: hiddenfield[]
, and output something like:
<input type='hiddenfield[]' value='array element0'>
<input type='hiddenfield[]' value='array element1'>
<input type='hiddenfield[]' value='array element2'>
upon submition, form2 will receive an array called $hiddenfield with the
correct values!

good luck,
Elias

"J.F.Kishor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello all,
>
>            I have got a doubt, Is there a way to pass a array from one
> from to another form while submition.
>
> I have tried to do it, but in the second form I just get the string
> "ARRAY"  I'am not able to get the expected result.
>
> Please let me know if there is a way to do the above.
>
>
> Thanks in adv,
>
> Cheers,
>
> kishor
> Nilgiri Networks
>
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to