PHP Combine results from query into one string
<p>I have a app that searches a database and retrieves 3 fields Name, Email Address, Year group.</p>

<p>I put these into a table and would like to have a mailto: link that has all the email addresses retrieved in it but seperated by commas..</p>

<p>something like this for example.</p>

<pre><code>&lt;a href=mailto:" .$row['Email'].  "&gt;"  .$row['Email']. "&lt;/a&gt;
</code></pre>

<p>and the link would actually look like this : mailto:john@yahoo.com,bob@gmail.com,kyle@microsoft.com</p>

<p>any ideas?</p>
