How do I iterate through an array and store it in $message for PHP mail()?
<p>Previously I had issues with arrays and was graciously helped. My problem now is that I have the data in my array, but I need that to be stored into $message so that it will be included when mail() is called. I have chopped up my code and put the relevant piece below.</p>

<pre><code>$to =       '"John Smith" &lt;jsmith@theInter.net&gt;';
$subject =  'Report';
$message =  '===========================================' . '&lt;br&gt;' .
//This is where I would want my array to be located; one element     printed on each line.
'===========================================' . '&lt;br&gt;' . '&lt;br&gt;' .
mail($to, $subject, $message);
</code></pre>

<p>My array ($fileList) contains one string per element. I want to have one element per line to be included in the above $message variable.</p>

<p>Thank you for any assistance you can give me.</p>
