Send MultipleIterator to an email
<p>my english may be confusing, i'll try to be specific. It's about PHP, here in stackoverflow i found a piece of code that is so near to give me what i want (an answer of ValkerK), i have two arrays to iterate into one and i found an answer to a question that was exactly what i was lookin for. I just need to create a variable and send the prints to an e-mail. It may be simpliest but i'm not exactly an expert, here is the code if you can help me, thanks for reading this.</p>

<pre><code>$want = new ArrayIterator($_POST['product']);
$amount = new ArrayIterator($_POST['howmany']);

$it = new MultipleIterator;
$it-&gt;attachIterator($want);
$it-&gt;attachIterator($amount);

foreach($it as $e) {
 echo $e[0], ' : ', $e[1], ", ";
}
</code></pre>

<p>Then i have this prints</p>

<pre><code>Product1:10, Product2:12, Product3:7.... etc
</code></pre>

<p>I need a variable to send that to an e-mail, but i still can't make it it work... thankes for your help.</p>
