购物车数组数据未使用表单数据处理

Overview: I have a shopping cart (cart.html.php) to collect user selections to be emailed. If the cart count > 0, I include a form (quote.html.php) to collect prospect info. On submission, the form posts the prospect's data and sends an email of that data. I want to also include the cart content.

Problem: when I set the action of the form to action="", or action="." in order to process in on the index.php, so I can loop through the cart content (foreach($cart as $item) the form will not submit.

If I set the action to action="process-rfq.php", the form processes the form data correctly but not the cart. The cart array remains behind, throwing a foreach error.

Thus, both options fail and I do not know what to do to fix it. Any help is appreciated.