Several ways to do it. You can use sessions (see session_register function) to keep the array active between pages. Or you can do what you're attempting to do... pass it in a form variable.
If you take that approach, you'll need to implode the array value and then explode it.
<input type=hidden name=qstack value=<? echo implode('|',$quantity_stack) ?> >
and then explode it back into an array on the receiving form.
$quantity_stack = explode('|',$qstack);
Note keeping the var names separate.
Dave
===========================================
http://badblue.com/helpphp.htm
Free small footprint web server for Windows
PHP, P2P file-sharing, transcoding and more