|
Posted by jukka on 01/09/06 16:56
nescio wrote:
>>Well, you haven't told us what $arrayHeaders contains, so it's difficult
>>to see what HTML this will result in. However, I'm pretty sure it won't
>>work.
>>
>>The following will work, however:
>>
>><FORM action="process.php" method="GET">
>><INPUT type="hidden" name="foo[]" value="apple">
>><INPUT type="hidden" name="foo[]" value="bison">
>><INPUT type="hidden" name="foo[]" value="car">
>><INPUT type="submit">
>></FORM>
>
>
> well, maybe i did not explain it very clear (it happens to me all the time
> :-) );
>
> the array i want to send is not made in the form but before.
> the values come from an cvs-file;
>
> let's say: $a = array('a','b','c','d');
>
> i want to send this array together with information from a form;
> that is why i had put the array as an value in an hidden form field;
>
>
>
you could have the form echoed into the field with a for() loop and
separated by commas. and then on the next page you could explode() it
back into an array again
Navigation:
[Reply to this message]
|