I'm pretty new to php and can't work out how to pass an array from one module to another. I've tried
<INPUT TYPE="hidden" NAME="array" VALUE="<?php echo "$array"; ?>"> </INPUT>
but $array is not recognised in the called module. I reckon I could loop for all the elements in the array and echo a whole lot of hidden input fields, but it's not very elegant. Is there a better way?